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;
|
recommendedProxySettings = true;
|
||||||
recommendedTlsSettings = true;
|
recommendedTlsSettings = true;
|
||||||
virtualHosts = builtins.mapAttrs (subdomain: cfg: {
|
virtualHosts = builtins.mapAttrs (subdomain: cfg: {
|
||||||
forceSSL = true;
|
hostName = "${subdomain}.${base}";
|
||||||
useACMEHost = base;
|
useACMEHost = base;
|
||||||
|
forceSSL = true;
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = cfg.dest;
|
proxyPass = cfg.dest;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue