diff --git a/modules/web/fsrewsp.nix b/modules/web/fsrewsp.nix index 57ad6bb..f8f0799 100644 --- a/modules/web/fsrewsp.nix +++ b/modules/web/fsrewsp.nix @@ -43,6 +43,7 @@ in root = "/srv/web/fsrewsp"; extraConfig = '' index index.php index.html; + fastcgi_param HTTP_HOST $host; ''; locations = { diff --git a/modules/web/nightline.nix b/modules/web/nightline.nix index 9cff390..0e264a4 100644 --- a/modules/web/nightline.nix +++ b/modules/web/nightline.nix @@ -40,6 +40,7 @@ in root = "/srv/web/nightline"; extraConfig = '' index index.php index.html; + fastcgi_param HTTP_HOST $host; ''; locations = {