123
This commit is contained in:
1 parent
0e239aae28
commit
b5ab4c6c8c
2 files changed
+17
-17
No files matched your search
@@ -123,7 +123,7 @@
|
||||
"::1" = [
|
||||
"nextcloud.zeroq.ru"
|
||||
"collabora.zeroq.ru"
|
||||
"collabora.zeroq.ru"
|
||||
"office.zeroq.com"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
+16
-16
@@ -16,22 +16,6 @@ in
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
virtualHosts = {
|
||||
"office.zeroq.ru" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://${server}:8000";
|
||||
# proxyWebsockets = true; # onlyoffice uses websockets
|
||||
# };
|
||||
extraConfig = ''
|
||||
reverse_proxy http://${server}:8000 {
|
||||
# Required to circumvent bug of Onlyoffice loading mixed non-https content
|
||||
header_up X-Forwarded-Proto https
|
||||
client_max_body_size 5G;
|
||||
}
|
||||
'';
|
||||
};
|
||||
"collabora.zeroq.ru" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
@@ -124,6 +108,22 @@ in
|
||||
};
|
||||
caddy = {
|
||||
enable = true;
|
||||
virtualHosts."office.zeroq.ru" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
kTLS = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://${server}:8000";
|
||||
# proxyWebsockets = true; # onlyoffice uses websockets
|
||||
# };
|
||||
extraConfig = ''
|
||||
reverse_proxy http://${server}:8000 {
|
||||
# Required to circumvent bug of Onlyoffice loading mixed non-https content
|
||||
header_up X-Forwarded-Proto https
|
||||
client_max_body_size 5G;
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
security.acme = {
|
||||
|
||||
Reference in new issue
Block a user