tv nginx-public_html: init

This commit is contained in:
tv 2016-02-01 17:18:07 +01:00
parent f6a4131dae
commit a7e1709a46
4 changed files with 17 additions and 30 deletions

View File

@ -9,6 +9,7 @@ with lib;
../2configs/hw/AO753.nix ../2configs/hw/AO753.nix
../2configs/exim-retiolum.nix ../2configs/exim-retiolum.nix
../2configs/git.nix ../2configs/git.nix
../2configs/nginx-public_html.nix
../2configs/pulse.nix ../2configs/pulse.nix
../2configs/xserver ../2configs/xserver
{ {
@ -22,16 +23,6 @@ with lib;
]; ];
}; };
} }
{
krebs.nginx = {
enable = true;
servers.default.locations = [
(nameValuePair "~ ^/~(.+?)(/.*)?\$" ''
alias /home/$1/public_html$2;
'')
];
};
}
{ {
krebs.retiolum = { krebs.retiolum = {
enable = true; enable = true;

View File

@ -10,6 +10,7 @@ with lib;
../2configs/exim-retiolum.nix ../2configs/exim-retiolum.nix
../2configs/git.nix ../2configs/git.nix
../2configs/mail-client.nix ../2configs/mail-client.nix
../2configs/nginx-public_html.nix
../2configs/pulse.nix ../2configs/pulse.nix
../2configs/xserver ../2configs/xserver
{ {
@ -134,16 +135,6 @@ with lib;
]; ];
}; };
} }
{
krebs.nginx = {
enable = true;
servers.default.locations = [
(nameValuePair "~ ^/~(.+?)(/.*)?\$" ''
alias /home/$1/public_html$2;
'')
];
};
}
{ {
krebs.retiolum = { krebs.retiolum = {
enable = true; enable = true;

View File

@ -10,6 +10,7 @@ with lib;
../2configs/exim-retiolum.nix ../2configs/exim-retiolum.nix
../2configs/git.nix ../2configs/git.nix
../2configs/mail-client.nix ../2configs/mail-client.nix
../2configs/nginx-public_html.nix
../2configs/pulse.nix ../2configs/pulse.nix
../2configs/xserver ../2configs/xserver
{ {
@ -132,16 +133,6 @@ with lib;
]; ];
}; };
} }
{
krebs.nginx = {
enable = true;
servers.default.locations = [
(nameValuePair "~ ^/~(.+?)(/.*)?\$" ''
alias /home/$1/public_html$2;
'')
];
};
}
{ {
krebs.retiolum = { krebs.retiolum = {
enable = true; enable = true;

View File

@ -0,0 +1,14 @@
{ lib, ... }:
with lib;
{
krebs.nginx = {
enable = true;
servers.default.locations = [
(nameValuePair "~ ^/~(.+?)(/.*)?\$" ''
alias /home/$1/public_html$2;
'')
];
};
}