Compare commits

..

No commits in common. "255d2a56e8241bb8fdffbac77b8f625afa0c5c88" and "84c48a566a880c1779272a11b91c03331f4a61fd" 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/";