fix nextcloud configuration error
This commit is contained in:
parent
0a3af8906d
commit
2e9dc554df
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue