[wgo2-web/oscp] Move release-notes location block to the correct server
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [wgo2-web/oscp] Move release-notes location block to the correct server
- Date: Tue, 21 Sep 2021 11:17:49 +0000 (UTC)
commit 66665552d3d1c6d5887dbe3181976c94cb22aeff
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Tue Sep 21 13:17:43 2021 +0200
Move release-notes location block to the correct server
nginx.conf | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/nginx.conf b/nginx.conf
index 593eba6..3772a08 100644
--- a/nginx.conf
+++ b/nginx.conf
@@ -203,6 +203,12 @@ 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 {
@@ -279,12 +285,6 @@ 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]