]> Untitled Git - lemmy.git/commitdiff
Remove proxy_cache from nginx config
authorFelix Ableitner <me@nutomic.com>
Tue, 21 Jul 2020 16:10:53 +0000 (18:10 +0200)
committerFelix Ableitner <me@nutomic.com>
Tue, 21 Jul 2020 16:10:53 +0000 (18:10 +0200)
ansible/templates/nginx.conf

index 5847bad016b14408dec92c98bf36ea8c41014d5a..eaaa6b79e0010960105df42af9e8c6e27e1b3dc9 100644 (file)
@@ -1,4 +1,3 @@
-proxy_cache_path /var/cache/lemmy_frontend levels=1:2 keys_zone=lemmy_frontend_cache:10m max_size=100m                 use_temp_path=off;
 limit_req_zone $binary_remote_addr zone=lemmy_ratelimit:10m rate=1r/s;
 
 server {
@@ -65,13 +64,6 @@ server {
         proxy_http_version 1.1;
         proxy_set_header Upgrade $http_upgrade;
         proxy_set_header Connection "upgrade";
-
-        # Proxy Cache
-        proxy_cache             lemmy_frontend_cache;
-        proxy_cache_use_stale   error timeout http_500 http_502 http_503 http_504;
-        proxy_cache_revalidate  on;
-        proxy_cache_lock        on;
-        proxy_cache_min_uses    5;
     }    
 
     # Redirect pictshare images to pictrs