blob: dc74f7f8d4f3570903900cc3c589e6dc6167d948 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ lib, ... }:
with lib;
{
krebs.nginx = {
enable = true;
servers.default.locations = [
(nameValuePair "~ ^/~(.+?)(/.*)?\$" ''
alias /home/$1/public_html$2;
'')
];
};
tv.iptables.input-internet-accept-new-tcp = singleton "http";
}
|