summaryrefslogtreecommitdiff
path: root/roles/apps/collabora/code/templates/nginx-vhost.conf.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2024-08-25 22:26:43 +0200
committerChristian Pointner <equinox@spreadspace.org>2024-08-25 22:26:43 +0200
commita756e7785f1118b04a2f4c7c182dec8740e9ef5d (patch)
tree0624df03a5445ab7a243640664e057f5c1bfc9a0 /roles/apps/collabora/code/templates/nginx-vhost.conf.j2
parentnextcloud: fix some migration issues (diff)
collabora/code: remove legacy file naming (lool vs cool)
Diffstat (limited to 'roles/apps/collabora/code/templates/nginx-vhost.conf.j2')
-rw-r--r--roles/apps/collabora/code/templates/nginx-vhost.conf.j216
1 files changed, 0 insertions, 16 deletions
diff --git a/roles/apps/collabora/code/templates/nginx-vhost.conf.j2 b/roles/apps/collabora/code/templates/nginx-vhost.conf.j2
index 67502e20..c8a512b0 100644
--- a/roles/apps/collabora/code/templates/nginx-vhost.conf.j2
+++ b/roles/apps/collabora/code/templates/nginx-vhost.conf.j2
@@ -1,11 +1,7 @@
client_max_body_size 128M;
# static files
-{% if item.value.version | collabora_code_loolvcool %}
-location ^~ /loleaflet {
-{% else %}
location ^~ /browser {
-{% endif %}
include snippets/proxy-nobuff.conf;
include snippets/proxy-forward-headers.conf;
@@ -41,11 +37,7 @@ location ^~ /hosting/capabilities {
}
# main websocket
-{% if item.value.version | collabora_code_loolvcool %}
-location ~ ^/lool/(.*)/ws$ {
-{% else %}
location ~ ^/cool/(.*)/ws$ {
-{% endif %}
include snippets/proxy-nobuff.conf;
include snippets/proxy-forward-headers.conf;
@@ -62,11 +54,7 @@ location ~ ^/cool/(.*)/ws$ {
}
# download, presentation and image upload
-{% if item.value.version | collabora_code_loolvcool %}
-location ~ ^/lool {
-{% else %}
location ~ ^/(c|l)ool {
-{% endif %}
include snippets/proxy-nobuff.conf;
include snippets/proxy-forward-headers.conf;
@@ -78,11 +66,7 @@ location ~ ^/(c|l)ool {
}
# Admin Console websocket
-{% if item.value.version | collabora_code_loolvcool %}
-location ^~ /lool/adminws {
-{% else %}
location ^~ /cool/adminws {
-{% endif %}
include snippets/proxy-nobuff.conf;
include snippets/proxy-forward-headers.conf;