X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=etc%2Fnginx%2Fnginx.conf;h=4be2606812e18c8517fe986c523e661c8a339fbd;hb=07f867bc5dc0e3bb3d01ceef80ce434e96642cba;hp=f8d0328d028763586fad2fd489f4cb293e3195ce;hpb=2d48a198262604098443c6a90e58b0084600a4d7;p=lhc%2Fateliers.git diff --git a/etc/nginx/nginx.conf b/etc/nginx/nginx.conf index f8d0328..4be2606 100644 --- a/etc/nginx/nginx.conf +++ b/etc/nginx/nginx.conf @@ -1,5 +1,4 @@ # DOC: http://blog.martinfjordvald.com/2010/07/nginx-primer/ -daemon on; events { multi_accept on; use epoll; @@ -9,9 +8,7 @@ http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' - '"$http_user_agent" "$http_x_forwarded_for" nocache:$no_cache document_root:$document_root' - ' fastcgi_script_name:$fastcgi_script_name' - ' request_filename:$request_filename'; + '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main buffer=32k; client_body_buffer_size 4K; # NOTE: % getconf PAGESIZE @@ -83,8 +80,6 @@ http { types_hash_max_size 2048; include /etc/nginx/site.d/*/server.conf; } -pid /var/run/nginx.pid; +pid /run/nginx.pid; user www-data; worker_processes 2; - -# vim: ft=sh