summaryrefslogtreecommitdiff
path: root/roles/apps/collabora/code/templates/nginx-vhost.conf.j2
diff options
context:
space:
mode:
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;