[redirects-web/proxy] Add trailing slash



commit 0bb37f8cbf5a29359b2c20a83084ebb3e9b52cf1
Author: Andrea Veri <averi redhat com>
Date:   Tue Feb 1 17:21:06 2022 +0100

    Add trailing slash

 conf.d/ceph-dashboard.gnome.org.conf | 3 +--
 conf.d/splunk.gnome.org.conf         | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/conf.d/ceph-dashboard.gnome.org.conf b/conf.d/ceph-dashboard.gnome.org.conf
index 78beb01..a833e96 100644
--- a/conf.d/ceph-dashboard.gnome.org.conf
+++ b/conf.d/ceph-dashboard.gnome.org.conf
@@ -12,7 +12,6 @@ server {
         proxy_set_header Host "ceph-dashboard.gnome.org";
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header X-Forwarded-Host $host;
-        proxy_pass https://ceph_dashboard;
-        proxy_redirect off;
+        proxy_pass https://ceph_dashboard/;
     }
 }
diff --git a/conf.d/splunk.gnome.org.conf b/conf.d/splunk.gnome.org.conf
index 9056ec8..517daad 100644
--- a/conf.d/splunk.gnome.org.conf
+++ b/conf.d/splunk.gnome.org.conf
@@ -6,7 +6,6 @@ server {
     location / {
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header X-Forwarded-Host $host;
-        proxy_pass http://vpn.splunk01.gnome.org:8000;
-        proxy_redirect off;
+        proxy_pass http://vpn.splunk01.gnome.org:8000/;
     }
 }


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