nginx.conf.hbs 582 B

123456789101112131415161718192021222324252627282930313233
  1. error_log "{{logs.errorLog}}";
  2. events {
  3. worker_connections 1024;
  4. }
  5. http {
  6. include includes/mime-types.conf;
  7. server_names_hash_bucket_size 128;
  8. client_max_body_size 1000M;
  9. default_type application/octet-stream;
  10. access_log off;
  11. sendfile off;
  12. keepalive_timeout 3;
  13. fastcgi_buffers 32 32k;
  14. fastcgi_buffer_size 32k;
  15. fastcgi_read_timeout 1800s;
  16. map $http_x_forwarded_proto $resolved_scheme {
  17. default "http";
  18. "https" "https";
  19. }
  20. map $resolved_scheme $fastcgi_https {
  21. default '';
  22. https on;
  23. }
  24. include site.conf;
  25. }