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">
|
||||
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>
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue