nixos/nagios: update apacheHttpd configuration from 2.2 to 2.4 syntax
This commit is contained in:
@@ -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>
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user