summaryrefslogtreecommitdiffstats
path: root/1systems
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-07-16 18:07:20 +0200
committertv <tv@krebsco.de>2015-07-16 18:07:20 +0200
commit9049df5d9d7272613663e0b19a1a87c6944e47d0 (patch)
treed02728d5f8cda4b77921e8becc1ee3b841458dad /1systems
parent99f01433cb299fa8991529a3427a6d02a1ab0fda (diff)
3 tv.nginx: allow multiple server blocks
Diffstat (limited to '1systems')
-rw-r--r--1systems/tv/nomic.nix2
-rw-r--r--1systems/tv/wu.nix2
2 files changed, 2 insertions, 2 deletions
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;
'')