diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2021-11-26 14:53:56 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2021-11-26 14:53:56 +0100 |
| commit | a468ef741c176342179650e39abb5f28131122ae (patch) | |
| tree | 202c3bf495ebc861d5f7d8cb71b00af3df9d4f68 /config/services/web/money/default.nix | |
| parent | 0b6558fbd828800621cd9e8918fb91f2602111ba (diff) | |
rename attrsets of virtualhosts for more concision
Diffstat (limited to 'config/services/web/money/default.nix')
| -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}/"; |
