try to setup onlyoffice

This commit is contained in:
2026-03-30 16:05:09 +03:00
parent 5909a72654
commit efcb4232a5
4 changed files with 36 additions and 22 deletions
+11
View File
@@ -130,9 +130,20 @@ in
};
extraConfig = ''
client_max_body_size 5G;
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Authorization $http_authorization;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
''; # absolute_redirect off;
};
"immich.zeroq.ru" = {