nginx.conf 815 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. #user nobody;
  2. worker_processes 1;
  3. #error_log logs/error.log;
  4. #error_log logs/error.log notice;
  5. #error_log logs/error.log info;
  6. #pid logs/nginx.pid;
  7. env SCW_IGNORE;
  8. env SCW_KEY;
  9. env SCW_COOKIE;
  10. env SCW_CAPTCHA_URL;
  11. env SCW_REDIS_HOST;
  12. env SCW_REDIS_PORT;
  13. events {
  14. worker_connections 1024;
  15. }
  16. http {
  17. include mime.types;
  18. default_type application/octet-stream;
  19. #log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  20. # '$status $body_bytes_sent "$http_referer" '
  21. # '"$http_user_agent" "$http_x_forwarded_for"';
  22. #access_log logs/access.log main;
  23. sendfile on;
  24. #tcp_nopush on;
  25. #keepalive_timeout 0;
  26. keepalive_timeout 65;
  27. #gzip on;
  28. include /etc/nginx/conf.d/*.conf;
  29. }