Append secrets to domain
This commit is contained in:
parent
15e040c6d0
commit
2da4bd1d84
|
@ -174,7 +174,7 @@ in
|
|||
nextcloud = {
|
||||
enable = true;
|
||||
package = pkgs.nextcloud29;
|
||||
hostName = "cloud.${cornDomain}";
|
||||
hostName = "cloud.${secrets.cornDomain}";
|
||||
datadir = "/nextcloud";
|
||||
https = true;
|
||||
config = {
|
||||
|
@ -183,7 +183,7 @@ in
|
|||
};
|
||||
settings = {
|
||||
trusted_proxies = [ "127.0.0.1" ];
|
||||
trusted_domains = [ "cloud.${cornDomain}" ];
|
||||
trusted_domains = [ "cloud.${secrets.cornDomain}" ];
|
||||
overwriteprotocol = "https";
|
||||
};
|
||||
};
|
||||
|
|
Reference in a new issue