[wgo2-web/oscp] Revert "Move release-notes location block to the correct server"



commit 75e8fb99d009851ca1a4e25079447968822cdab8
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Tue Sep 21 13:25:29 2021 +0200

    Revert "Move release-notes location block to the correct server"
    
    This reverts commit 66665552d3d1c6d5887dbe3181976c94cb22aeff.

 nginx.conf | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/nginx.conf b/nginx.conf
index 3772a08..593eba6 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -203,12 +203,6 @@ http {
         location /civicrm/wp-content/plugins/files/civicrm/ConfigAndLog/ {
             deny all;
         }
-
-        location /release-notes/ {
-            proxy_set_header Host teams.pages.gitlab.gnome.org;
-            proxy_set_header X-Forwarded-Host "";
-            proxy_pass https://teams.pages.gitlab.gnome.org:443/Engagement/release-notes/;
-        }
     }
 
     server {
@@ -285,6 +279,12 @@ http {
             expires max;
         }
 
+        location /release-notes/ {
+            proxy_set_header Host teams.pages.gitlab.gnome.org;
+            proxy_set_header X-Forwarded-Host "";
+            proxy_pass https://teams.pages.gitlab.gnome.org:443/Engagement/release-notes/;
+        }
+
         location / {
             try_files $uri $uri/ /index.php?$args;
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]