hosts/ao: tweak nginx configs

This commit is contained in:
Henrik Lissner 2020-12-19 03:25:04 -05:00
parent 725b1aa8ed
commit 96a262d81b
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -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;