2018-09-20 03:18:57 -05:00
|
|
|
# static files
|
2021-11-03 08:12:52 -05:00
|
|
|
location ^~ /browser {
|
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
|
2021-11-15 09:51:11 -06:00
|
|
|
location ~ ^/cool/(.*)/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
|
2021-11-19 05:29:22 -06:00
|
|
|
# we accept 'lool' to be backward compatible
|
|
|
|
location ~ ^/(c|l)ool {
|
2018-09-20 03:18:57 -05:00
|
|
|
proxy_pass http://localhost:9980;
|
|
|
|
proxy_set_header Host $http_host;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Admin Console websocket
|
2021-11-15 09:51:11 -06:00
|
|
|
location ^~ /cool/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;
|
|
|
|
}
|