summaryrefslogtreecommitdiffstats
path: root/1systems
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-07-16 18:07:20 +0200
committertv <tv@shackspace.de>2015-07-16 18:07:20 +0200
commit90eff048495e9cac767644dac1083374ecc521a1 (patch)
treed02728d5f8cda4b77921e8becc1ee3b841458dad /1systems
parent814eae09ff808eaf50cfb377d07fc9acf868ef52 (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 1696c509..b6235297 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 572416b3..d64f1bf0 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;
'')