summaryrefslogtreecommitdiffstats
path: root/lass/1systems
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-08-29 10:58:46 +0200
committerlassulus <lass@aidsballs.de>2016-08-29 10:58:46 +0200
commitde849cd88c97f55a66a74a9aaca6cb6571dc25e2 (patch)
treecfea5a46f8e74cd15a319bf0d257f108e4052070 /lass/1systems
parentc8d089d22fef5835e030906a51ff4be0ab528edb (diff)
l 1 mors: enable public_html
Diffstat (limited to 'lass/1systems')
-rw-r--r--lass/1systems/mors.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/lass/1systems/mors.nix b/lass/1systems/mors.nix
index 228c76e2c..2f4299944 100644
--- a/lass/1systems/mors.nix
+++ b/lass/1systems/mors.nix
@@ -67,6 +67,16 @@ with config.krebs.lib;
'';
};
}
+ {
+ krebs.nginx = {
+ enable = true;
+ servers.default.locations = [
+ (nameValuePair "~ ^/~(.+?)(/.*)?\$" ''
+ alias /home/$1/public_html$2;
+ '')
+ ];
+ };
+ }
];
krebs.build.host = config.krebs.hosts.mors;