diff options
author | Aaron Andersen <aaron@fosslib.net> | 2020-01-15 21:02:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 21:02:05 -0500 |
commit | 7260d2eb1332b04da3db2a6093868a27bfa6ee83 (patch) | |
tree | fa204dc9ef0522b542ad52b6f88dc58f092467cb /nixos/modules/services/web-servers | |
parent | 588e1c61cbe6cce42b8c2c9025696df50c0472f3 (diff) | |
parent | 336a6f471f1e40d4a440b4176c2a1b8db65fe007 (diff) | |
download | nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.gz nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.bz2 nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.lz nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.xz nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.tar.zst nixpkgs-7260d2eb1332b04da3db2a6093868a27bfa6ee83.zip |
Merge pull request #77326 from aanderse/apacheHttpd
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 4460f89ec5c..fd17e4b54f0 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. |