mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-16 14:58:15 +02:00
Updated Apache config for non-SSL connections
This commit is contained in:
parent
ae8cd145b9
commit
9ab47299c1
@ -4,42 +4,42 @@
|
|||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix">
|
<Directory "/usr/share/zabbix">
|
||||||
Options FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/conf">
|
<Directory "/usr/share/zabbix/conf">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/app">
|
<Directory "/usr/share/zabbix/app">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/include">
|
<Directory "/usr/share/zabbix/include">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/local">
|
<Directory "/usr/share/zabbix/local">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
</VirtualHost>
|
||||||
|
@ -5,20 +5,65 @@ Listen 443
|
|||||||
|
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
|
SSLEngine on
|
||||||
|
|
||||||
DocumentRoot /usr/share/zabbix/
|
DocumentRoot /usr/share/zabbix/
|
||||||
ServerName zabbix
|
ServerName zabbix
|
||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
|
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
|
|
||||||
# Enable/Disable SSL for this virtual host.
|
# Enable/Disable SSL for this virtual host.
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
|
|
||||||
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
|
SSLProtocol all -SSLv2 -SSLv3
|
||||||
SSLProtocol all -SSLv2
|
SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
|
||||||
|
SSLHonorCipherOrder on
|
||||||
|
|
||||||
SSLCertificateFile /etc/ssl/apache2/ssl.crt
|
SSLCertificateFile /etc/ssl/apache2/ssl.crt
|
||||||
SSLCertificateKeyFile /etc/ssl/apache2/ssl.key
|
SSLCertificateKeyFile /etc/ssl/apache2/ssl.key
|
||||||
# SSLCACertificatePath /etc/ssl/apache2/chain/
|
# SSLCACertificatePath /etc/ssl/apache2/chain/
|
||||||
|
|
||||||
|
# HSTS (mod_headers is required) (15768000 seconds = 6 months)
|
||||||
|
Header always set Strict-Transport-Security "max-age=15768000"
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix">
|
||||||
|
Options FollowSymLinks
|
||||||
|
AllowOverride None
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/conf">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/app">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/include">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/local">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
@ -4,42 +4,42 @@
|
|||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix">
|
<Directory "/usr/share/zabbix">
|
||||||
Options FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/conf">
|
<Directory "/usr/share/zabbix/conf">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/app">
|
<Directory "/usr/share/zabbix/app">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/include">
|
<Directory "/usr/share/zabbix/include">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/local">
|
<Directory "/usr/share/zabbix/local">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
</VirtualHost>
|
||||||
|
@ -4,47 +4,42 @@
|
|||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix">
|
<Directory "/usr/share/zabbix">
|
||||||
Options FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
</Directory>
|
||||||
</Directory>
|
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/conf">
|
<Directory "/usr/share/zabbix/conf">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/app">
|
<Directory "/usr/share/zabbix/app">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/include">
|
<Directory "/usr/share/zabbix/include">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/local">
|
<Directory "/usr/share/zabbix/local">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
</VirtualHost>
|
||||||
|
@ -1,19 +1,69 @@
|
|||||||
|
LoadModule ssl_module modules/mod_ssl.so
|
||||||
|
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
|
||||||
|
|
||||||
|
Listen 443
|
||||||
|
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
|
SSLEngine on
|
||||||
|
|
||||||
DocumentRoot /usr/share/zabbix/
|
DocumentRoot /usr/share/zabbix/
|
||||||
ServerName zabbix
|
ServerName zabbix
|
||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
|
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
|
|
||||||
# Enable/Disable SSL for this virtual host.
|
# Enable/Disable SSL for this virtual host.
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
|
|
||||||
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
|
SSLProtocol all -SSLv2 -SSLv3
|
||||||
SSLProtocol all -SSLv2
|
SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
|
||||||
|
SSLHonorCipherOrder on
|
||||||
|
|
||||||
SSLCertificateFile /etc/ssl/apache2/ssl.crt
|
SSLCertificateFile /etc/ssl/apache2/ssl.crt
|
||||||
SSLCertificateKeyFile /etc/ssl/apache2/ssl.key
|
SSLCertificateKeyFile /etc/ssl/apache2/ssl.key
|
||||||
# SSLCACertificatePath /etc/ssl/apache2/chain/
|
# SSLCACertificatePath /etc/ssl/apache2/chain/
|
||||||
|
|
||||||
|
# HSTS (mod_headers is required) (15768000 seconds = 6 months)
|
||||||
|
Header always set Strict-Transport-Security "max-age=15768000"
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix">
|
||||||
|
Options FollowSymLinks
|
||||||
|
AllowOverride None
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/conf">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/app">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/include">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/local">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
@ -4,42 +4,42 @@
|
|||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix">
|
<Directory "/usr/share/zabbix">
|
||||||
Options FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/conf">
|
<Directory "/usr/share/zabbix/conf">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/app">
|
<Directory "/usr/share/zabbix/app">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/include">
|
<Directory "/usr/share/zabbix/include">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/local">
|
<Directory "/usr/share/zabbix/local">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
</VirtualHost>
|
||||||
|
@ -5,20 +5,65 @@ Listen 443
|
|||||||
|
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
|
SSLEngine on
|
||||||
|
|
||||||
DocumentRoot /usr/share/zabbix/
|
DocumentRoot /usr/share/zabbix/
|
||||||
ServerName zabbix
|
ServerName zabbix
|
||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
|
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
|
|
||||||
# Enable/Disable SSL for this virtual host.
|
# Enable/Disable SSL for this virtual host.
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
|
|
||||||
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
|
SSLProtocol all -SSLv2 -SSLv3
|
||||||
SSLProtocol all -SSLv2
|
SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
|
||||||
|
SSLHonorCipherOrder on
|
||||||
|
|
||||||
SSLCertificateFile /etc/ssl/apache2/ssl.crt
|
SSLCertificateFile /etc/ssl/apache2/ssl.crt
|
||||||
SSLCertificateKeyFile /etc/ssl/apache2/ssl.key
|
SSLCertificateKeyFile /etc/ssl/apache2/ssl.key
|
||||||
# SSLCACertificatePath /etc/ssl/apache2/chain/
|
# SSLCACertificatePath /etc/ssl/apache2/chain/
|
||||||
|
|
||||||
|
# HSTS (mod_headers is required) (15768000 seconds = 6 months)
|
||||||
|
Header always set Strict-Transport-Security "max-age=15768000"
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix">
|
||||||
|
Options FollowSymLinks
|
||||||
|
AllowOverride None
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/conf">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/app">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/include">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/local">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
@ -4,42 +4,42 @@
|
|||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix">
|
<Directory "/usr/share/zabbix">
|
||||||
Options FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Require all granted
|
Require all granted
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/conf">
|
<Directory "/usr/share/zabbix/conf">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/app">
|
<Directory "/usr/share/zabbix/app">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/include">
|
<Directory "/usr/share/zabbix/include">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/local">
|
<Directory "/usr/share/zabbix/local">
|
||||||
Require all denied
|
Require all denied
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
</VirtualHost>
|
||||||
|
@ -4,47 +4,42 @@
|
|||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix">
|
<Directory "/usr/share/zabbix">
|
||||||
Options FollowSymLinks
|
Options FollowSymLinks
|
||||||
AllowOverride None
|
AllowOverride None
|
||||||
Order allow,deny
|
Require all granted
|
||||||
Allow from all
|
</Directory>
|
||||||
</Directory>
|
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/conf">
|
<Directory "/usr/share/zabbix/conf">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/app">
|
<Directory "/usr/share/zabbix/app">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/include">
|
<Directory "/usr/share/zabbix/include">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
||||||
<Directory "/usr/share/zabbix/local">
|
<Directory "/usr/share/zabbix/local">
|
||||||
Order deny,allow
|
Require all denied
|
||||||
Deny from all
|
|
||||||
<files *.php>
|
<files *.php>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
</files>
|
</files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
</VirtualHost>
|
||||||
|
@ -1,19 +1,69 @@
|
|||||||
|
LoadModule ssl_module modules/mod_ssl.so
|
||||||
|
LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
|
||||||
|
|
||||||
|
Listen 443
|
||||||
|
|
||||||
<IfModule mod_ssl.c>
|
<IfModule mod_ssl.c>
|
||||||
<VirtualHost *:443>
|
<VirtualHost *:443>
|
||||||
|
SSLEngine on
|
||||||
|
|
||||||
DocumentRoot /usr/share/zabbix/
|
DocumentRoot /usr/share/zabbix/
|
||||||
ServerName zabbix
|
ServerName zabbix
|
||||||
DirectoryIndex index.php
|
DirectoryIndex index.php
|
||||||
|
|
||||||
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
|
||||||
AddType application/x-httpd-php-source .phps
|
AddType application/x-httpd-php-source .phps
|
||||||
|
|
||||||
# Enable/Disable SSL for this virtual host.
|
# Enable/Disable SSL for this virtual host.
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
|
|
||||||
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
|
SSLProtocol all -SSLv2 -SSLv3
|
||||||
SSLProtocol all -SSLv2
|
SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS
|
||||||
|
SSLHonorCipherOrder on
|
||||||
|
|
||||||
SSLCertificateFile /etc/ssl/apache2/ssl.crt
|
SSLCertificateFile /etc/ssl/apache2/ssl.crt
|
||||||
SSLCertificateKeyFile /etc/ssl/apache2/ssl.key
|
SSLCertificateKeyFile /etc/ssl/apache2/ssl.key
|
||||||
# SSLCACertificatePath /etc/ssl/apache2/chain/
|
# SSLCACertificatePath /etc/ssl/apache2/chain/
|
||||||
|
|
||||||
|
# HSTS (mod_headers is required) (15768000 seconds = 6 months)
|
||||||
|
Header always set Strict-Transport-Security "max-age=15768000"
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix">
|
||||||
|
Options FollowSymLinks
|
||||||
|
AllowOverride None
|
||||||
|
Require all granted
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/conf">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/app">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/include">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
|
|
||||||
|
<Directory "/usr/share/zabbix/local">
|
||||||
|
Require all denied
|
||||||
|
<files *.php>
|
||||||
|
Order deny,allow
|
||||||
|
Deny from all
|
||||||
|
</files>
|
||||||
|
</Directory>
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user