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