From 4b5679be9190371141c56ee7875ce47c86fb487f Mon Sep 17 00:00:00 2001 From: Simon Parri Date: Mon, 15 Sep 2025 17:06:28 -0500 Subject: hosts/tomato: Enable basic Apache configuration --- modules/apache/local.conf | 7 +++++++ modules/apache/local.nix | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 modules/apache/local.conf create mode 100644 modules/apache/local.nix (limited to 'modules/apache') 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 + + + Options MultiViews ExecCGI + Require all granted + 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; +} -- cgit v1.2.3