mirror of
https://github.com/YunoHost-Apps/collabora_ynh.git
synced 2024-09-03 18:16:25 +02:00
Update nginx.conf
This commit is contained in:
parent
81f4d7bdb3
commit
9c1e623556
1 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ location ~ ^/$ {
|
|||
}
|
||||
|
||||
# static files
|
||||
location ^~ /loleaflet {
|
||||
location ^~ /browser {
|
||||
proxy_pass http://localhost:__PORT__;
|
||||
proxy_set_header Host $http_host;
|
||||
more_set_headers "X-Frame-Options: ALLOWALL";
|
||||
|
@ -26,7 +26,7 @@ location ^~ /hosting/capabilities {
|
|||
}
|
||||
|
||||
# main websocket
|
||||
location ~ ^/lool/(.*)/ws$ {
|
||||
location ~ ^/cool/(.*)/ws$ {
|
||||
proxy_pass http://localhost:__PORT__;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
|
@ -36,14 +36,14 @@ location ~ ^/lool/(.*)/ws$ {
|
|||
}
|
||||
|
||||
# download, presentation and image upload
|
||||
location ~ ^/lool {
|
||||
location ~ ^/(c|l)ool {
|
||||
proxy_pass http://localhost:__PORT__;
|
||||
proxy_set_header Host $http_host;
|
||||
more_set_headers "X-Frame-Options: ALLOWALL";
|
||||
}
|
||||
|
||||
# Admin Console websocket
|
||||
location ^~ /lool/adminws {
|
||||
location ^~ /cool/adminws {
|
||||
proxy_pass http://localhost:__PORT__;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
|
|
Loading…
Reference in a new issue