1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Remove caching from nginx

This commit is contained in:
Maksym Pavlenko
2019-03-11 21:31:04 -07:00
parent 085a225aa0
commit 2dd3b3588e

View File

@ -6,8 +6,6 @@ upstream backend {
server api:5001;
}
proxy_cache_path /tmp/nginx levels=1:2 keys_zone=feeds_cache:25m max_size=1g inactive=30m use_temp_path=off;
server {
listen 443;
@ -47,14 +45,6 @@ server {
}
location @backend {
proxy_cache feeds_cache;
proxy_ignore_headers Cache-Control;
proxy_cache_valid 10m;
proxy_cache_lock on;
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
add_header X-Proxy-Cache $upstream_cache_status;
proxy_pass http://backend;
proxy_buffers 8 16k;
proxy_buffer_size 16k;