nextcloud: make sure all links are with https
This commit is contained in:
parent
83dce16818
commit
f3920c6bc8
1 changed files with 3 additions and 5 deletions
|
@ -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";
|
||||
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue