nextcloud: make sure all links are with https

feature/hass
Ingolf Wagner 2020-03-04 19:06:11 +08:00
parent 83dce16818
commit f3920c6bc8
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
1 changed files with 3 additions and 5 deletions

View File

@ -33,6 +33,7 @@
nginx.enable = true;
hostName = "nextcloud.workhorse.private";
logLevel = 2;
config.overwriteProtocol = "https";
config.extraTrustedDomains = [
"nextcloud.ingolf-wagner.de"
"nextcloud.gaykraft.com"
@ -65,12 +66,9 @@
locations."/" = {
proxyPass = "http://192.168.100.11";
extraConfig = ''
# allow big uploads
# -----------------
client_max_body_size 0;
# rewrite response bodies
# -----------------------
sub_filter "192.168.100.11" "nextcloud.workhorse.private";
'';
};
};