fix nextcloud configuration error

This commit is contained in:
stuebinm 2021-03-25 23:26:07 +01:00 committed by schweby
parent 0a3af8906d
commit 2e9dc554df
No known key found for this signature in database
GPG key ID: B880491D046E2F87

View file

@ -20,7 +20,7 @@
autoStart = true; autoStart = true;
privateNetwork = true; privateNetwork = true;
hostAddress6 = "fd00::10:1"; hostAddress6 = "fd00::10:1";
localAddress6 = "fs00::10:2"; localAddress6 = "fd00::10:2";
config = { pkgs, ... }: { config = { pkgs, ... }: {
@ -118,7 +118,7 @@
}; };
services.nginx.virtualHosts."cloud2.infra4future.de" = { services.nginx.virtualHosts."cloud2.infra4future.de" = {
locations."/".proxyPass = "http:[${config.containers.nextcloud.localAddress6}]"; locations."/".proxyPass = "http://[${config.containers.nextcloud.localAddress6}]:80";
enableACME = true; enableACME = true;
forceSSL = true; forceSSL = true;
}; };