no need to wrap domain in quotes for caddy config
This commit is contained in:
parent
19e082d3f1
commit
5e649e32e6
3 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."${domain}".extraConfig = ''
|
||||
services.caddy.virtualHosts.${domain}.extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy http://localhost:${builtins.toString port}
|
||||
'';
|
||||
|
|
|
@ -43,7 +43,7 @@ in
|
|||
|
||||
services.openssh.settings.AllowUsers = [ "forgejo" ];
|
||||
|
||||
services.caddy.virtualHosts."${domain}".extraConfig = ''
|
||||
services.caddy.virtualHosts.${domain}.extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy http://localhost:${builtins.toString port}
|
||||
'';
|
||||
|
|
|
@ -18,7 +18,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."${domain}".extraConfig = ''
|
||||
services.caddy.virtualHosts.${domain}.extraConfig = ''
|
||||
encode zstd gzip
|
||||
reverse_proxy http://localhost:${builtins.toString port}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue