diff options
author | tv <tv@krebsco.de> | 2021-02-11 23:21:11 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2021-02-11 23:21:11 +0100 |
commit | 172a0ddf196ac95fe77982a12f3605c7521683df (patch) | |
tree | 33c4941b71617771b5d5f03fc37962f2be0429ad /tv/2configs | |
parent | 4ec04fe23a6e6c8fc151a8ab77a8ab27c78c1b4f (diff) |
tv public_html: move to /srv
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/nginx/public_html.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tv/2configs/nginx/public_html.nix b/tv/2configs/nginx/public_html.nix index a37498b..43d7189 100644 --- a/tv/2configs/nginx/public_html.nix +++ b/tv/2configs/nginx/public_html.nix @@ -12,9 +12,9 @@ with import <stockholm/lib>; "${config.krebs.build.host.name}.hkw" "${config.krebs.build.host.name}.r" ]; - locations."~ ^/~(.+?)(/.*)?\$".extraConfig = '' - alias /home/$1/public_html$2; - ''; + locations."~ ^/~([a-z]+)(?:/(.*))?\$" = { + alias = "/srv/$1/public_html/$2"; + }; }; }; tv.iptables.input-internet-accept-tcp = singleton "http"; |