mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
try to setup onlyoffice
This commit is contained in:
+16
-16
@@ -91,22 +91,22 @@ in
|
||||
client_max_body_size 5G;
|
||||
'';
|
||||
};
|
||||
"office.local" = {
|
||||
enableACME = false;
|
||||
forceSSL = false;
|
||||
locations = {
|
||||
"/" = {
|
||||
proxyPass = "http://${server}:8000"; # 9980
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
client_max_body_size 5G;
|
||||
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;
|
||||
''; # absolute_redirect off;
|
||||
};
|
||||
# "office.local" = {
|
||||
# enableACME = false;
|
||||
# forceSSL = false;
|
||||
# locations = {
|
||||
# "/" = {
|
||||
# proxyPass = "http://${server}:8000"; # 9980
|
||||
# proxyWebsockets = true;
|
||||
# };
|
||||
# };
|
||||
# extraConfig = ''
|
||||
# client_max_body_size 5G;
|
||||
# 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;
|
||||
# ''; # absolute_redirect off;
|
||||
# };
|
||||
"calibre.local" = {
|
||||
forceSSL = false;
|
||||
enableACME = false;
|
||||
|
||||
Reference in New Issue
Block a user