pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
changeset 202 252069788104
parent 200 10051617d075
--- a/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2	Sun Nov 06 21:39:24 2022 -0600
+++ b/pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2	Sun Nov 06 22:03:27 2022 -0600
@@ -61,8 +61,7 @@
         proxy_set_header Connection "upgrade";
         proxy_set_header Host $http_host;
 
-        set $upstream {{pleroma_proxy_pass}};
-        proxy_pass $upstream;
+        proxy_pass {{pleroma_proxy_pass}};
 
         client_max_body_size 16m;
     }
@@ -71,9 +70,7 @@
         proxy_cache {{pleroma_instance}}-pleroma_media_cache;
         proxy_cache_lock on;
         proxy_ignore_client_abort on;
-
-        set $upstream {{pleroma_proxy_pass}};
-        proxy_pass $upstream;
+        proxy_pass {{pleroma_proxy_pass}};
     }
 
     # don't expose prometheus stats publicly