Files
browbeat/ansible/install/roles/collectd-generic/files/cfme-http.conf
Alex Krzos 06052af80f Adding apache monitoring to cfme configs.
Change-Id: I73f8641fbc1e70cd18fdf44c00022d9967143339
2016-03-17 12:38:02 -04:00

32 lines
817 B
Plaintext

# Deployed by Browbeat collectd-generic for cfme nodes.
## CFME HTTP Virtual Host Context
# Timeout: The number of seconds before receives and sends time out.
Timeout 120
# HTTP Start-up error log
ErrorLog /var/www/miq/vmdb/log/apache/miq_apache.log
# Disable this section if using HTTP only
RewriteEngine On
Options SymLinksIfOwnerMatch
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
# Collectd configuration enable mod_status and virtual host on port 80
# Enable this section if using HTTP only
<VirtualHost *:80>
# Include conf.d/cfme-redirects-ui
# Include conf.d/cfme-redirects-ws
ProxyPreserveHost on
</VirtualHost>
ExtendedStatus on
<Location /mod_status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>