diff options
author | Aaron Andersen <aaron@fosslib.net> | 2020-01-08 10:37:46 -0500 |
---|---|---|
committer | Aaron Andersen <aaron@fosslib.net> | 2020-01-08 10:37:46 -0500 |
commit | 336a6f471f1e40d4a440b4176c2a1b8db65fe007 (patch) | |
tree | 56c7e1fd61517abbbb718beafb793316224e374d /nixos/modules/services/web-servers | |
parent | cca0c894a13ec398de8b046174239513197f5c74 (diff) | |
download | nixlib-336a6f471f1e40d4a440b4176c2a1b8db65fe007.tar nixlib-336a6f471f1e40d4a440b4176c2a1b8db65fe007.tar.gz nixlib-336a6f471f1e40d4a440b4176c2a1b8db65fe007.tar.bz2 nixlib-336a6f471f1e40d4a440b4176c2a1b8db65fe007.tar.lz nixlib-336a6f471f1e40d4a440b4176c2a1b8db65fe007.tar.xz nixlib-336a6f471f1e40d4a440b4176c2a1b8db65fe007.tar.zst nixlib-336a6f471f1e40d4a440b4176c2a1b8db65fe007.zip |
nixos/httpd: symlink apache configuration to /etc/httpd/httpd.conf for use in the apachectl command
Diffstat (limited to 'nixos/modules/services/web-servers')
-rw-r--r-- | nixos/modules/services/web-servers/apache-httpd/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index 4460f89ec5c1..fd17e4b54f0f 100644 --- a/nixos/modules/services/web-servers/apache-httpd/default.nix +++ b/nixos/modules/services/web-servers/apache-httpd/default.nix @@ -629,6 +629,9 @@ in environment.systemPackages = [httpd]; + # required for "apachectl configtest" + environment.etc."httpd/httpd.conf".source = httpdConf; + services.httpd.phpOptions = '' ; Needed for PHP's mail() function. |