Skip to content

Instantly share code, notes, and snippets.

@arkenous
Created November 24, 2015 12:00
Show Gist options
  • Save arkenous/e4c3b2281bca87bba376 to your computer and use it in GitHub Desktop.
Save arkenous/e4c3b2281bca87bba376 to your computer and use it in GitHub Desktop.
Apache extra configuration file for zabbix
NameVirtualHost *:443
<IfModule mod_alias.c>
Alias /zabbix /usr/share/webapps/zabbix/
</IfModule>
<Directory /usr/share/webapps/zabbix>
Options -Indexes +FollowSymlinks +ExecCGI
AllowOverride all
Require all granted
</Directory>
<VirtualHost *:443>
ServerAdmin foo@foobar.com
# DocumentRoot "/usr/share/webapps/zabbix"
ServerName www.trileg.net
ErrorLog /var/log/httpd/zabbix-error_log
CustomLog /var/log/httpd/zabbix-access_log combined
# SSLEngine on
# SSLCertificateFile "/etc/httpd/conf/server.crt"
# SSLCertificateKeyFile "/etc/httpd/conf/server.key"
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment