fix proxy host forwarding
This commit is contained in:
parent
5246d65afb
commit
0c526f4911
1 changed files with 2 additions and 1 deletions
|
|
@ -23,8 +23,9 @@ in {
|
|||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
virtualHosts = builtins.mapAttrs (subdomain: cfg: {
|
||||
forceSSL = true;
|
||||
hostName = "${subdomain}.${base}";
|
||||
useACMEHost = base;
|
||||
forceSSL = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = cfg.dest;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue