[redirects-web/proxy] As per upstream
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web/proxy] As per upstream
- Date: Tue, 1 Feb 2022 18:58:03 +0000 (UTC)
commit 66d438cc3be789e272393c0b3a652495da184a81
Author: Andrea Veri <averi redhat com>
Date: Tue Feb 1 19:57:51 2022 +0100
As per upstream
conf.d/office.cloud.gnome.org.conf | 97 ++++++++++++++++++++------------------
1 file changed, 52 insertions(+), 45 deletions(-)
---
diff --git a/conf.d/office.cloud.gnome.org.conf b/conf.d/office.cloud.gnome.org.conf
index 0f88318..ac5ed9b 100644
--- a/conf.d/office.cloud.gnome.org.conf
+++ b/conf.d/office.cloud.gnome.org.conf
@@ -1,47 +1,54 @@
server {
- listen 8080;
- listen [::]:8080;
- server_name office.cloud.gnome.org;
-
- location ^~ /loleaflet {
- proxy_pass https://vpn.palette.gnome.org:9980;
- proxy_set_header Host $http_host;
- }
-
- location ^~ /hosting/discovery {
- proxy_pass https://vpn.palette.gnome.org:9980;
- proxy_set_header Host $http_host;
- }
-
- location ~ ^/lool/adminws {
- 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 ~ ^/lool {
- proxy_pass https://vpn.palette.gnome.org:9980;
- proxy_set_header Host $http_host;
- }
-
- location ^~ /hosting/capabilities {
- proxy_pass https://vpn.palette.gnome.org:9980;
- 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;
- }
+ listen 8080;
+ server_name office.cloud.gnome.org;
+
+ # static files
+ location ^~ /browser {
+ proxy_pass https://vpn.palette.gnome.org:9980;
+ proxy_set_header Host $http_host;
+ }
+
+
+ # WOPI discovery URL
+ location ^~ /hosting/discovery {
+ proxy_pass https://vpn.palette.gnome.org:9980;
+ proxy_set_header Host $http_host;
+ }
+
+
+ # Capabilities
+ location ^~ /hosting/capabilities {
+ proxy_pass https://vpn.palette.gnome.org:9980;
+ proxy_set_header Host $http_host;
+ }
+
+
+ # main websocket
+ location ~ ^/cool/(.*)/ws$ {
+ proxy_pass https://vpn.palette.gnome.org:9980;
+ proxy_set_header Upgrade $http_upgrade;
+ proxy_set_header Connection "Upgrade";
+ proxy_set_header Host $http_host;
+ proxy_read_timeout 36000s;
+ }
+
+
+ # download, presentation and image upload
+ location ~ ^/(c|l)ool {
+ proxy_pass https://vpn.palette.gnome.org:9980;
+ proxy_set_header Host $http_host;
+ }
+
+ # Admin Console websocket
+ location ^~ /cool/adminws {
+ proxy_pass https://vpn.palette.gnome.org:9980;
+ 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]