mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
- Updated to apache 2.4 - Updated the htpasswd generation to use the more secure bcrypt algorithm Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
42 lines
930 B
Plaintext
42 lines
930 B
Plaintext
Listen 1008
|
|
|
|
<VirtualHost *:1008>
|
|
|
|
# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
|
|
# Last Modified: 11-26-2005
|
|
#
|
|
# This file contains examples of entries that need
|
|
# to be incorporated into your Apache web server
|
|
# configuration file. Customize the paths, etc. as
|
|
# needed to fit your system.
|
|
|
|
ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin"
|
|
|
|
<Directory "/usr/share/nagios/cgi-bin">
|
|
# SSLRequireSSL
|
|
Options ExecCGI
|
|
AllowOverride None
|
|
# Require all granted
|
|
# Require ip 127.0.0.1
|
|
AuthName "Nagios Access"
|
|
AuthType Basic
|
|
AuthUserFile /etc/nagios/htpasswd.users
|
|
Require valid-user
|
|
</Directory>
|
|
|
|
Alias /nagios "/usr/share/nagios"
|
|
|
|
<Directory "/usr/share/nagios">
|
|
# SSLRequireSSL
|
|
Options None
|
|
AllowOverride None
|
|
# Require all granted
|
|
# Require ip 127.0.0.1
|
|
AuthName "Nagios Access"
|
|
AuthType Basic
|
|
AuthUserFile /etc/nagios/htpasswd.users
|
|
Require valid-user
|
|
</Directory>
|
|
|
|
</VirtualHost>
|