Compare commits

..

No commits in common. "0aa903644d785c30ea6b8fd03642c84b2a9d73d1" and "9dc803e0782c743090ed8862cb7c9d9e05c96162" have entirely different histories.

View file

@ -123,15 +123,6 @@ in
"${cfg.hostname}" = {
enableACME = 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."/" = {
extraConfig = proxyConfig;
proxyPass = "http://trictrac-api/";