nixos/nagios: update apacheHttpd configuration from 2.2 to 2.4 syntax
This commit is contained in:
parent
c2f8d6334c
commit
2726c45b01
1 changed files with 2 additions and 6 deletions
|
@ -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>
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue