summaryrefslogtreecommitdiff
path: root/config/services/web/money/default.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2021-11-23 20:23:26 +0100
committerQuentin Aristote <quentin@aristote.fr>2021-11-23 20:23:26 +0100
commit32e5d6cd9bad09fda90d3720173127d7f0acfbe8 (patch)
tree307d674d47c7d189333da5a63f0e80eaa0fe79f2 /config/services/web/money/default.nix
parente374e0fd1f12c44dd14b70a3ace9a7d7fb6e54d8 (diff)
replace literal instances of 'aristote.fr' by ${config.networking.domain}
Diffstat (limited to 'config/services/web/money/default.nix')
-rw-r--r--config/services/web/money/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/services/web/money/default.nix b/config/services/web/money/default.nix
index ce8ceea..1853aab 100644
--- a/config/services/web/money/default.nix
+++ b/config/services/web/money/default.nix
@@ -2,7 +2,7 @@
let cfg = config.services.ihatemoney;
in {
- services.nginx.virtualHosts."money.aristote.fr" = lib.mkIf cfg.enable {
+ services.nginx.virtualHosts."money.${config.networking.domain}" = lib.mkIf cfg.enable {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://127.0.0.1${cfg.uwsgiConfig.http}/";