[redirects-web/proxy] Move office.cloud.g.o to OCP



commit df833b30410316f24bc9a440fe478ade8086ed55
Author: Andrea Veri <averi redhat com>
Date:   Tue Feb 1 18:31:37 2022 +0100

    Move office.cloud.g.o to OCP

 conf.d/office.cloud.gnome.org.conf | 46 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)
---
diff --git a/conf.d/office.cloud.gnome.org.conf b/conf.d/office.cloud.gnome.org.conf
new file mode 100644
index 0000000..c306c4d
--- /dev/null
+++ b/conf.d/office.cloud.gnome.org.conf
@@ -0,0 +1,46 @@
+server {
+    listen 8080;
+    listen [::]:8080;
+    server_name office.cloud.gnome.org;
+
+    location /loleaflet {
+        proxy_pass https://vpn.palette.gnome.org:9980/loleaflet/;
+        proxy_set_header Host $http_host;
+    }
+
+    location /hosting/discovery {
+        proxy_pass https://vpn.palette.gnome.org:9980/hosting/discovery;
+        proxy_set_header Host $http_host;
+    }
+
+    location /lool/adminws {
+        proxy_set_header Host $http_host;
+        proxy_set_header Upgrade $http_upgrade;
+        proxy_set_header Connection "Upgrade";
+        proxy_set_header Host $http_host;
+        proxy_read_timeout 36000s;   
+    }
+
+    location /lool {
+        proxy_pass  https://vpn.palette.gnome.org:9980/lool;
+        proxy_set_header Host $http_host;
+    }
+
+    location /hosting/capabilities {
+        proxy_pass  https://vpn.palette.gnome.org:9980/hosting/capabilities;
+        proxy_set_header Host $http_host;
+    }
+
+    location ^~ "/lool/(.*)/ws$" {
+        proxy_pass https://vpn.palette.gnome.org:9980/
+        proxy_set_header Host $http_host;
+        proxy_set_header Upgrade $http_upgrade;
+        proxy_set_header Connection "Upgrade";
+        proxy_set_header Host $http_host;
+        proxy_read_timeout 36000s;   
+    }
+
+    location /.well-known/acme-challenge {
+        return 301 https://letsencrypt.gnome.org$request_uri;
+    }
+}


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