17 lines
648 B
Plaintext
17 lines
648 B
Plaintext
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
||
|
|
||
|
proxy_redirect off;
|
||
|
proxy_set_header Host $host;
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
client_max_body_size 1024m;
|
||
|
client_body_buffer_size 8192k;
|
||
|
proxy_connect_timeout 600;
|
||
|
proxy_send_timeout 600;
|
||
|
proxy_read_timeout 600;
|
||
|
proxy_buffers 32 4k;
|
||
|
|
||
|
proxy_cache_path /var/lib/nginx/cache levels=1:2 keys_zone=cache:10m inactive=24h max_size=1g;
|
||
|
proxy_cache cache;
|
||
|
proxy_cache_valid 200 302 1h;
|
||
|
proxy_cache_valid 404 1d;
|