Files
configpolicy/roles/zabbix-server/templates/zabbix-redir.httpd.conf.j2
Dustin C. Hatch 3a7c9b52bf 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.
2018-04-14 15:26:54 -05:00

7 lines
150 B
Django/Jinja

# vim: set ft=apache :
# Automatically redirect requests for / to /zabbix/
{% if zabbix_web_redir|bool %}
RedirectMatch 301 ^/$ /zabbix/
{% endif %}