ServerName {{ grafana_subdomain }}.{{ item.name }} Redirect temp / https://{{ grafana_subdomain }}.{{ item.name }}/ ServerName {{ grafana_subdomain }}.{{ item.name }} SSLEngine On DocumentRoot "{{ item.doc_root }}" DirectoryIndex index.html Options -Indexes HostnameLookups Off LogLevel warn ErrorLog /var/log/apache2/grafana.info-error_log CustomLog /var/log/apache2/grafana.info-access_log common Alias /mqtt /var/www/mqtt-admin ProxyPassMatch ^/mqtt ! ProxyRequests Off ProxyPreserveHost On ProxyPass / http://localhost:{{ grafana_internal_port }}/ ProxyPassReverse / http://localhost:{{ grafana_internal_port }}/