Skip to content
Snippets Groups Projects
Commit 5cd25e91 authored by nimrod's avatar nimrod
Browse files

CODE updates.

parent 73f40090
Branches host01
No related tags found
No related merge requests found
Pipeline #3180 waiting for manual action
......@@ -22,13 +22,14 @@ server {
include snippets/ssl-modern.conf;
# The following was copied (and modified) from
# https://www.collaboraoffice.com/code/nginx-reverse-proxy/.
# https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html#reverse-proxy-with-nginx-webserver.
# static files
location ^~ /loleaflet {
location ^~ /browser {
proxy_pass http://$code:9980$request_uri;
proxy_http_version 1.1;
include snippets/proxy-headers.conf;
proxy_hide_header X-Frame-Options;
}
# WOPI discovery URL
......@@ -46,7 +47,7 @@ server {
}
# main websocket
location ~ ^/lool/(.*)/ws$ {
location ~ ^/cool/(.*)/ws$ {
proxy_pass http://$code:9980$request_uri;
proxy_http_version 1.1;
include snippets/proxy-headers.conf;
......@@ -54,14 +55,14 @@ server {
}
# download, presentation and image upload
location ~ ^/lool {
location ~ ^/(c|l)ool {
proxy_pass http://$code:9980$request_uri;
proxy_http_version 1.1;
include snippets/proxy-headers.conf;
}
# Admin Console websocket
location ^~ /lool/adminws {
location ^~ /cool/adminws {
proxy_pass http://$code:9980$request_uri;
proxy_http_version 1.1;
include snippets/proxy-headers.conf;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment