nixos/nagios: update apacheHttpd configuration from 2.2 to 2.4 syntax

This commit is contained in:
Aaron Andersen 2019-05-25 10:38:07 -04:00
parent c2f8d6334c
commit 2726c45b01

View file

@ -58,9 +58,7 @@ let
<Directory "${pkgs.nagios}/sbin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
Require all granted
SetEnv NAGIOS_CGI_CONFIG ${cfg.cgiConfigFile}
</Directory>
@ -68,9 +66,7 @@ let
<Directory "${pkgs.nagios}/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
Require all granted
</Directory>
'';