[redirects-web/proxy] Be backwards compatible
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [redirects-web/proxy] Be backwards compatible
- Date: Tue, 1 Feb 2022 19:02:49 +0000 (UTC)
commit 35983988bafeadf1d26226579059986e63e50b75
Author: Andrea Veri <averi redhat com>
Date: Tue Feb 1 20:02:36 2022 +0100
Be backwards compatible
conf.d/office.cloud.gnome.org.conf | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/conf.d/office.cloud.gnome.org.conf b/conf.d/office.cloud.gnome.org.conf
index ac5ed9b..db7093b 100644
--- a/conf.d/office.cloud.gnome.org.conf
+++ b/conf.d/office.cloud.gnome.org.conf
@@ -1,5 +1,6 @@
server {
- listen 8080;
+ listen 8080;
+ listen [::]:8080;
server_name office.cloud.gnome.org;
# static files
@@ -8,23 +9,20 @@ server {
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$ {
+ location ~ ^/(c|l)ool/(.*)/ws$ {
proxy_pass https://vpn.palette.gnome.org:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
@@ -32,7 +30,6 @@ server {
proxy_read_timeout 36000s;
}
-
# download, presentation and image upload
location ~ ^/(c|l)ool {
proxy_pass https://vpn.palette.gnome.org:9980;
@@ -40,7 +37,7 @@ server {
}
# Admin Console websocket
- location ^~ /cool/adminws {
+ location ^~ /(c|l)ool/adminws {
proxy_pass https://vpn.palette.gnome.org:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]