hosts/ao: tweak nginx configs
This commit is contained in:
parent
725b1aa8ed
commit
96a262d81b
|
@ -33,12 +33,18 @@ with lib.my;
|
||||||
default = true;
|
default = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = http://192.168.1.3:8000;
|
locations."/" = {
|
||||||
|
proxyPass = "https://192.168.1.3:8001";
|
||||||
|
extraConfig = ''
|
||||||
|
proxy_ssl_server_name on;
|
||||||
|
proxy_pass_header Authorization;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
"git.v0.io" = {
|
"git.v0.io" = {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
locations."/".proxyPass = http://127.0.0.1:3000;
|
locations."/".proxyPass = "http://127.0.0.1:3000";
|
||||||
};
|
};
|
||||||
# "p.v0.io" = {
|
# "p.v0.io" = {
|
||||||
# enableACME = true;
|
# enableACME = true;
|
||||||
|
|
Loading…
Reference in a new issue