File size: 800 Bytes
c49b21b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
worker_processes auto;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Timeouts
proxy_connect_timeout 60s;
proxy_send_timeout 60s;
proxy_read_timeout 60s;
# Temp paths (writable on Spaces)
client_body_temp_path /tmp/nginx/body 1 2;
proxy_temp_path /tmp/nginx/proxy;
fastcgi_temp_path /tmp/nginx/fastcgi;
# Buffers
proxy_buffering on;
proxy_buffer_size 4k;
proxy_buffers 8 4k;
proxy_busy_buffers_size 8k;
# Client
client_max_body_size 10m;
client_body_timeout 60s;
client_header_timeout 60s;
# Logs
access_log /dev/stdout;
error_log /dev/stderr warn;
include /etc/nginx/conf.d/*.conf;
}
|