You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
842 B

  1. worker_processes ${WORKER_PROCESSES};
  2. error_log /var/log/nginx/error.log warn;
  3. # Change pid to allow no super user to run
  4. pid /tmp/nginx.pid;
  5. events {
  6. worker_connections 1024;
  7. }
  8. http {
  9. proxy_temp_path /tmp/proxy_temp;
  10. client_body_temp_path /tmp/client_temp;
  11. fastcgi_temp_path /tmp/fastcgi_temp;
  12. uwsgi_temp_path /tmp/uwsgi_temp;
  13. scgi_temp_path /tmp/scgi_temp;
  14. include /etc/nginx/mime.types;
  15. default_type application/octet-stream;
  16. log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  17. '$status $body_bytes_sent "$http_referer" '
  18. '"$http_user_agent" "$http_x_forwarded_for"';
  19. access_log /var/log/nginx/access.log main;
  20. sendfile on;
  21. keepalive_timeout 65;
  22. include /etc/nginx/conf.d/*.conf;
  23. }