nginx.conf 825 B

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