roles/zabbix-server: Deploy Zabbix server, web UI
The *zabbix-server* role deploys the Zabbix server database, daemon, and web interface. It requires the *apache* role to configure Apache HTTPD to serve the web UI.
This commit is contained in:
6
roles/zabbix-server/templates/zabbix-redir.httpd.conf.j2
Normal file
6
roles/zabbix-server/templates/zabbix-redir.httpd.conf.j2
Normal file
@@ -0,0 +1,6 @@
|
||||
# vim: set ft=apache :
|
||||
|
||||
# Automatically redirect requests for / to /zabbix/
|
||||
{% if zabbix_web_redir|bool %}
|
||||
RedirectMatch 301 ^/$ /zabbix/
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user