Skip to content
Snippets Groups Projects
Commit a4eb60aa authored by David Beniamine's avatar David Beniamine
Browse files

Fix onlyoffice

parent 4a754a5b
No related branches found
No related tags found
No related merge requests found
......@@ -96,13 +96,15 @@ http {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
# Disabled, if enable we get "Unknown error on OnlyOffice
# proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $the_host/ds-vpath;
proxy_set_header X-Forwarded-Proto $the_scheme;
# Manually set to https to avoid "Unknown error" on OnlyOffice
proxy_set_header X-Forwarded-Proto "https";
}
location ~ \.php(?:$|/) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment