Fixed build error
This commit is contained in:
parent
56da54bc36
commit
a21e09f0a9
|
@ -33,7 +33,7 @@ in {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts = {
|
virtualHosts = {
|
||||||
"${cfg.subdomain_name}.${cfg.domain_name}" = {
|
"${cfg.subdomain_name}.${cfg.domain_name}" = {
|
||||||
serverAliases = [${cfg.subdomain_name}];
|
serverAliases = ["${cfg.subdomain_name}"];
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
proxy_pass http://localhost:${toString config.services.nix-serve.port};
|
proxy_pass http://localhost:${toString config.services.nix-serve.port};
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
|
|
Loading…
Reference in a new issue