nginx.conf.template 856 B

12345678910111213141516171819202122232425262728293031323334
  1. # Please do not directly edit this file. Instead, modify the .env variables related to NGINX configuration.
  2. user nginx;
  3. worker_processes ${NGINX_WORKER_PROCESSES};
  4. error_log /var/log/nginx/error.log notice;
  5. pid /var/run/nginx.pid;
  6. events {
  7. worker_connections 1024;
  8. }
  9. http {
  10. include /etc/nginx/mime.types;
  11. default_type application/octet-stream;
  12. log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  13. '$status $body_bytes_sent "$http_referer" '
  14. '"$http_user_agent" "$http_x_forwarded_for"';
  15. access_log /var/log/nginx/access.log main;
  16. sendfile on;
  17. #tcp_nopush on;
  18. keepalive_timeout ${NGINX_KEEPALIVE_TIMEOUT};
  19. #gzip on;
  20. client_max_body_size ${NGINX_CLIENT_MAX_BODY_SIZE};
  21. include /etc/nginx/conf.d/*.conf;
  22. }