2018-09-20 03:18:57 -05:00
|
|
|
# static files
|
2018-10-26 09:35:09 -05:00
|
|
|
location ^~ /loleaflet {
|
2018-09-20 03:18:57 -05:00
|
|
|
proxy_pass http://localhost:9980;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
}
|
|
|
|
|
|
|
|
# WOPI discovery URL
|
2018-10-26 09:35:09 -05:00
|
|
|
location ^~ /hosting/discovery {
|
2018-09-20 03:18:57 -05:00
|
|
|
proxy_pass http://localhost:9980;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
}
|
|
|
|
|
2018-11-29 14:57:40 -06:00
|
|
|
# Capabilities
|
|
|
|
location ^~ /hosting/capabilities {
|
|
|
|
proxy_pass http://localhost:9980;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
}
|
|
|
|
|
2018-09-20 03:18:57 -05:00
|
|
|
# main websocket
|
2018-10-26 09:35:09 -05:00
|
|
|
location ~ ^/lool/(.*)/ws$ {
|
2018-09-20 03:18:57 -05:00
|
|
|
proxy_pass http://localhost:9980;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "Upgrade";
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
proxy_read_timeout 36000s;
|
|
|
|
}
|
|
|
|
|
|
|
|
# download, presentation and image upload
|
2018-10-26 09:35:09 -05:00
|
|
|
location ~ ^/lool {
|
2018-09-20 03:18:57 -05:00
|
|
|
proxy_pass http://localhost:9980;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Admin Console websocket
|
2018-10-26 09:35:09 -05:00
|
|
|
location ^~ /lool/adminws {
|
2018-09-20 03:18:57 -05:00
|
|
|
proxy_pass http://localhost:9980;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "Upgrade";
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
proxy_read_timeout 36000s;
|
|
|
|
}
|