1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/onlyoffice_ynh.git synced 2024-09-03 19:56:11 +02:00

Update nginx.conf

This commit is contained in:
liberodark 2018-11-08 15:05:44 +01:00 committed by GitHub
parent e8fdfef977
commit 408dec030f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
# static files # static files
location ^~ /loleaflet { location ^~ /loleaflet {
proxy_pass https://localhost:__PORT__; proxy_pass http://localhost:__PORT__;
proxy_set_header Host $http_host; proxy_set_header Host $http_host;
} }
@ -12,7 +12,7 @@ location ^~ /hosting/discovery {
# websockets, download, presentation and image upload # websockets, download, presentation and image upload
location ^~ /lool { location ^~ /lool {
proxy_pass https://localhost:__PORT__; proxy_pass http://localhost:__PORT__;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host; proxy_set_header Host $http_host;