summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/apache/local.conf7
-rw-r--r--modules/apache/local.nix5
2 files changed, 12 insertions, 0 deletions
diff --git a/modules/apache/local.conf b/modules/apache/local.conf
new file mode 100644
index 0000000..8223286
--- /dev/null
+++ b/modules/apache/local.conf
@@ -0,0 +1,7 @@
+UserDir "/var/www"
+DirectoryIndex _.html _.txt
+
+<Directory "/home/*/www">
+ Options MultiViews ExecCGI
+ Require all granted
+</Directory>
diff --git a/modules/apache/local.nix b/modules/apache/local.nix
new file mode 100644
index 0000000..3648fe1
--- /dev/null
+++ b/modules/apache/local.nix
@@ -0,0 +1,5 @@
+{ config, ... }:
+
+{
+ hostName = config.networking.hostName;
+}