Minor adjustments
This commit is contained in:
@@ -21,10 +21,6 @@ http {
|
||||
server nextcloud:9000;
|
||||
}
|
||||
|
||||
upstream collabora {
|
||||
server collabora:9980;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
@@ -90,7 +86,7 @@ http {
|
||||
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
|
||||
# Mitigate https://httpoxy.org/ vulnerabilities:
|
||||
fastcgi_param HTTP_PROXY "";
|
||||
#fastcgi_index index.php;
|
||||
fastcgi_index index.php;
|
||||
include fastcgi_params;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_param PATH_INFO $fastcgi_path_info;
|
||||
@@ -137,19 +133,19 @@ http {
|
||||
|
||||
# static files
|
||||
location ^~ /loleaflet {
|
||||
proxy_pass http://collabora;
|
||||
proxy_pass http://collabora:9980;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
|
||||
# WOPI discovery URL
|
||||
location ^~ /hosting/discovery {
|
||||
proxy_pass http://collabora;
|
||||
proxy_pass http://collabora:9980;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
|
||||
# main websocket
|
||||
location ~ ^/lool/(.*)/ws$ {
|
||||
proxy_pass http://collabora;
|
||||
proxy_pass http://collabora:9980;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $http_host;
|
||||
@@ -158,13 +154,13 @@ http {
|
||||
|
||||
# download, presentation and image upload
|
||||
location ~ ^/lool {
|
||||
proxy_pass http://collabora;
|
||||
proxy_pass http://collabora:9980;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
|
||||
# Admin Console websocket
|
||||
location ^~ /lool/adminws {
|
||||
proxy_pass http://collabora;
|
||||
proxy_pass http://collabora:9980;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "Upgrade";
|
||||
proxy_set_header Host $http_host;
|
||||
|
||||
Reference in New Issue
Block a user