Backed out changeset 10051617d075
authorLuke Hoersten <luke@hoersten.org>
Sun, 06 Nov 2022 22:03:27 -0600
changeset 202 252069788104
parent 201 e209c4dc5280
child 203 4be395f0d127
Backed out changeset 10051617d075
dendrite/server/templates/nginx.conf.j2
miniflux/templates/nginx.conf.j2
pleroma/otp/templates/pleroma.cloudflare.index.nginx.conf.j2
pleroma/otp/templates/pleroma.cloudflare.nginx.conf.j2
pleroma/otp/templates/pleroma.letsencrypt.nginx.conf.j2
writefreely/server/templates/nginx.conf.j2
--- a/dendrite/server/templates/nginx.conf.j2	Sun Nov 06 21:39:24 2022 -0600
+++ b/dendrite/server/templates/nginx.conf.j2	Sun Nov 06 22:03:27 2022 -0600
@@ -37,8 +37,7 @@
     proxy_read_timeout                 600;
 
     location /_matrix {
-        set $upstream http://127.0.0.1:{{nginx_proxy_port}};
-        proxy_pass $upstream;
+        proxy_pass http://127.0.0.1:{{nginx_proxy_port}};
     }
 
     root /var/www/{{nginx_server_name}};
--- a/miniflux/templates/nginx.conf.j2	Sun Nov 06 21:39:24 2022 -0600
+++ b/miniflux/templates/nginx.conf.j2	Sun Nov 06 22:03:27 2022 -0600
@@ -20,9 +20,7 @@
     ssl_stapling_verify on;
 
     location / {
-        set $upstream {{nginx_proxy_pass}};
-        proxy_pass $upstream;
-
+        proxy_pass {{nginx_proxy_pass}};
         proxy_redirect off;
         proxy_set_header Host $host;
         proxy_set_header X-Real-IP $remote_addr;
--- 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
--- a/pleroma/otp/templates/pleroma.cloudflare.nginx.conf.j2	Sun Nov 06 21:39:24 2022 -0600
+++ b/pleroma/otp/templates/pleroma.cloudflare.nginx.conf.j2	Sun Nov 06 22:03:27 2022 -0600
@@ -53,8 +53,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;
     }
@@ -63,9 +62,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
--- a/pleroma/otp/templates/pleroma.letsencrypt.nginx.conf.j2	Sun Nov 06 21:39:24 2022 -0600
+++ b/pleroma/otp/templates/pleroma.letsencrypt.nginx.conf.j2	Sun Nov 06 22:03:27 2022 -0600
@@ -58,8 +58,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;
     }
@@ -68,9 +67,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
--- a/writefreely/server/templates/nginx.conf.j2	Sun Nov 06 21:39:24 2022 -0600
+++ b/writefreely/server/templates/nginx.conf.j2	Sun Nov 06 22:03:27 2022 -0600
@@ -34,10 +34,7 @@
         proxy_set_header Host $host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header X-Forwarded-For $remote_addr;
-
-        set $upstream http://127.0.0.1:{{nginx_proxy_port}};
-        proxy_pass $upstream;
-
+        proxy_pass http://127.0.0.1:{{nginx_proxy_port}};
         proxy_redirect off;
     }
 
@@ -51,10 +48,7 @@
         proxy_set_header Host $host;
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header X-Forwarded-For $remote_addr;
-
-        set $upstream http://127.0.0.1:{{nginx_proxy_port}};
-        proxy_pass $upstream;
-
+        proxy_pass http://127.0.0.1:{{nginx_proxy_port}};
         proxy_redirect off;
     }
 }