[redirects-web/proxy] Already part of an http directive



commit 650466785866d98b4e74dff323a9ed343aa0415a
Author: Andrea Veri <averi redhat com>
Date:   Tue Feb 1 16:56:40 2022 +0100

    Already part of an http directive

 conf.d/ceph-dashboard.gnome.org.conf | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)
---
diff --git a/conf.d/ceph-dashboard.gnome.org.conf b/conf.d/ceph-dashboard.gnome.org.conf
index 93d2786..bd72bd1 100644
--- a/conf.d/ceph-dashboard.gnome.org.conf
+++ b/conf.d/ceph-dashboard.gnome.org.conf
@@ -1,17 +1,15 @@
-http {
-    upstream ceph_dashboard {
-        server vpn.ceph01.gnome.org:8443;
-        server vpn.ceph02.gnome.org:8443;
-        server vpn.ceph03.gnome.org:8443;
-    }
+upstream ceph_dashboard {
+    server vpn.ceph01.gnome.org:8443;
+    server vpn.ceph02.gnome.org:8443;
+    server vpn.ceph03.gnome.org:8443;
+}
 
-    server {
-        listen 8080;
-        server_name ceph-dashboard.gnome.org;
+server {
+    listen 8080;
+    server_name ceph-dashboard.gnome.org;
 
-        location / {
-            proxy_pass https://ceph_dashboard;
-            health_check port=8443;
-        }
+    location / {
+        proxy_pass https://ceph_dashboard;
+        health_check port=8443;
     }
 }


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