diff options
Diffstat (limited to 'config/services/web/money')
| -rw-r--r-- | config/services/web/money/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/services/web/money/default.nix b/config/services/web/money/default.nix index 1853aab..3a9f58b 100644 --- a/config/services/web/money/default.nix +++ b/config/services/web/money/default.nix @@ -2,7 +2,8 @@ let cfg = config.services.ihatemoney; in { - services.nginx.virtualHosts."money.${config.networking.domain}" = lib.mkIf cfg.enable { + services.nginx.virtualHosts.money = lib.mkIf cfg.enable { + serverName = "money.${config.networking.domain}"; forceSSL = true; enableACME = true; locations."/".proxyPass = "http://127.0.0.1${cfg.uwsgiConfig.http}/"; |
