fix proxy set header
This commit is contained in:
parent
7f7c4ffa1b
commit
eb80b95d15
1 changed files with 3 additions and 1 deletions
|
|
@ -8,8 +8,10 @@ in
|
|||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxySetHeader = "Host ${domain}";
|
||||
proxyPass = "https://${ip}:443/";
|
||||
proxy_set_header=Host ${domain}
|
||||
extraConfig = ''
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue