From 90eff048495e9cac767644dac1083374ecc521a1 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') diff --git a/1systems/tv/nomic.nix b/1systems/tv/nomic.nix index 1696c509a..b6235297f 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 572416b33..d64f1bf0b 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 [cgit] Unable to lock slot /tmp/cgit/7c000000.lock: No such file or directory (2)