Loading conf.d/code.shore.co.il.conf +6 −5 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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; Loading @@ -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; Loading Loading
conf.d/code.shore.co.il.conf +6 −5 Original line number Diff line number Diff line Loading @@ -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 Loading @@ -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; Loading @@ -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; Loading