nextcloud: make sure all links are with https

This commit is contained in:
Ingolf Wagner 2020-03-04 19:06:11 +08:00
parent 83dce16818
commit f3920c6bc8
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

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";
'';
};
};