Merge tag 'v0.2.3' into develop
v0.2.3
This commit is contained in:
commit
255d2a56e8
1 changed files with 9 additions and 0 deletions
|
|
@ -123,6 +123,15 @@ in
|
||||||
"${cfg.hostname}" = {
|
"${cfg.hostname}" = {
|
||||||
enableACME = withSSL;
|
enableACME = withSSL;
|
||||||
forceSSL = withSSL;
|
forceSSL = withSSL;
|
||||||
|
# Explicit listen so this vhost isn't shadowed by a default_server
|
||||||
|
# created by other virtual hosts with forceSSL = true.
|
||||||
|
listen = if withSSL then [
|
||||||
|
{ addr = "0.0.0.0"; port = 443; ssl = true; }
|
||||||
|
{ addr = "[::]"; port = 443; ssl = true; }
|
||||||
|
] else [
|
||||||
|
{ addr = "0.0.0.0"; port = 80; ssl = false; }
|
||||||
|
{ addr = "[::]"; port = 80; ssl = false; }
|
||||||
|
];
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
extraConfig = proxyConfig;
|
extraConfig = proxyConfig;
|
||||||
proxyPass = "http://trictrac-api/";
|
proxyPass = "http://trictrac-api/";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue