1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/collabora_ynh.git synced 2024-09-03 18:16:25 +02:00

[fix] Use local http instead of https

This commit is contained in:
ljf 2019-02-06 09:14:06 +01:00
parent 0c19e273a2
commit e5d66f8ebe

View file

@ -1,24 +1,24 @@
# static files
location ^~ /loleaflet {
proxy_pass https://localhost:9980;
proxy_pass http://localhost:__PORT__;
proxy_set_header Host $http_host;
}
# WOPI discovery URL
location ^~ /hosting/discovery {
proxy_pass https://localhost:9980;
proxy_pass http://localhost:__PORT__;
proxy_set_header Host $http_host;
}
# Capabilities
location ^~ /hosting/capabilities {
proxy_pass https://localhost:9980;
proxy_pass http://localhost:__PORT__;
proxy_set_header Host $http_host;
}
# main websocket
location ~ ^/lool/(.*)/ws$ {
proxy_pass https://localhost:9980;
proxy_pass http://localhost:__PORT__;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
@ -27,13 +27,13 @@ location ~ ^/lool/(.*)/ws$ {
# download, presentation and image upload
location ~ ^/lool {
proxy_pass https://localhost:9980;
proxy_pass http://localhost:__PORT__;
proxy_set_header Host $http_host;
}
# Admin Console websocket
location ^~ /lool/adminws {
proxy_pass https://localhost:9980;
proxy_pass http://localhost:__PORT__;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;