Browse Source

fix config file

master
Nicolas Massé 7 years ago
parent
commit
1a1969c069
  1. 5
      Nginx-S2I-Image/nginx.conf

5
Nginx-S2I-Image/nginx.conf

@ -3,7 +3,7 @@
# * Official Russian Documentation: http://nginx.org/ru/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/
worker_processes auto; worker_processes auto;
error_log /var/log/nginx/error.log; error_log /dev/stderr info;
pid /run/nginx.pid; pid /run/nginx.pid;
# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic. # Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
@ -21,8 +21,7 @@ http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" ' log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" ' '$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'; '"$http_user_agent" "$http_x_forwarded_for"';
access_log /dev/stdout main;
access_log /var/log/nginx/access.log main;
sendfile on; sendfile on;
tcp_nopush on; tcp_nopush on;

Loading…
Cancel
Save