nextcloud: fix redirect problem

This commit is contained in:
Ingolf Wagner 2020-03-04 01:14:04 +08:00
parent b19456c551
commit 468f033840
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -150,6 +150,7 @@
proxyPass = "http://nextcloud.workhorse.private";
extraConfig = ''
sub_filter "http://nextcloud.ingolf-wagner.de" "https://nextcloud.ingolf-wagner.de";
sub_filter "nextcloud.workhorse.private" "nextcloud.ingolf-wagner.de";
# used for view/edit office file via Office Online Server
client_max_body_size 0;
'';
@ -175,6 +176,7 @@
proxyPass = "http://nextcloud.workhorse.private";
extraConfig = ''
sub_filter "http://nextcloud.gaykraft.com" "https://nextcloud.gaykraft.com";
sub_filter "nextcloud.workhorse.private" "nextcloud.gaykraft.com";
# used for view/edit office file via Office Online Server
client_max_body_size 0;
'';