2020-07-10 00:58:55 +02:00
|
|
|
## {{ salt['pillar.get']('salt_managed', default='Salt Managed') }}
|
|
|
|
|
2022-10-10 10:19:42 +02:00
|
|
|
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;
|
2023-03-10 00:05:57 +01:00
|
|
|
|
2022-10-10 10:19:42 +02:00
|
|
|
client_max_body_size 0;
|
|
|
|
client_body_buffer_size 8192k;
|
2023-03-10 00:05:57 +01:00
|
|
|
|
2022-10-10 10:19:42 +02:00
|
|
|
proxy_connect_timeout 600;
|
|
|
|
proxy_send_timeout 600;
|
|
|
|
proxy_read_timeout 600;
|
|
|
|
proxy_buffers 32 4k;
|
2020-07-10 00:58:55 +02:00
|
|
|
|
2022-10-10 10:19:42 +02:00
|
|
|
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;
|
2023-03-10 00:05:57 +01:00
|
|
|
proxy_cache_valid 404 1d;
|