From 9049df5d9d7272613663e0b19a1a87c6944e47d0 Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 16 Jul 2015 18:07:20 +0200 Subject: 3 tv.nginx: allow multiple server blocks --- 1systems/tv/nomic.nix | 2 +- 1systems/tv/wu.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to '1systems/tv') diff --git a/1systems/tv/nomic.nix b/1systems/tv/nomic.nix index 1696c50..b623529 100644 --- a/1systems/tv/nomic.nix +++ b/1systems/tv/nomic.nix @@ -32,7 +32,7 @@ with lib; imports = [ ../../3modules/tv/nginx.nix ]; tv.nginx = { enable = true; - retiolum-locations = [ + servers.default.locations = [ (nameValuePair "~ ^/~(.+?)(/.*)?\$" '' alias /home/$1/public_html$2; '') diff --git a/1systems/tv/wu.nix b/1systems/tv/wu.nix index 572416b..d64f1bf 100644 --- a/1systems/tv/wu.nix +++ b/1systems/tv/wu.nix @@ -133,7 +133,7 @@ with lib; imports = [ ../../3modules/tv/nginx.nix ]; tv.nginx = { enable = true; - retiolum-locations = [ + servers.default.locations = [ (nameValuePair "~ ^/~(.+?)(/.*)?\$" '' alias /home/$1/public_html$2; '') -- cgit v1.2.3