MaxClients 32 ServerName DWARFG_DOMAIN ServerAlias *.DWARFG_DOMAIN Redirect / https://DWARFG_DOMAIN Redirect permanent / https://DWARFG_DOMAIN RedirectMatch permanent ^/(.*)$ https://DWARFG_DOMAIN/$1 ServerName DWARFG_DOMAIN ServerAdmin webmaster@DWARFG_DOMAIN ErrorLog ${APACHE_LOG_DIR}/DWARFG_DOMAIN_error.log CustomLog ${APACHE_LOG_DIR}/DWARFG_DOMAIN_access.log combined SSLEngine on SSLCertificateFile /opt/INSTALL_DIR/ssl/server.pem SSLCertificateKeyFile /opt/INSTALL_DIR/ssl/server.key Options +FollowSymlinks DocumentRoot /var/www/INSTALL_DIR/gui/public/ SSLOptions +StdEnvVars Options -Indexes AllowOverride None Order allow,deny Allow from all Options +FollowSymlinks Alias "/firmware" "/var/www/INSTALL_DIR/firmware" Options +Indexes Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all ProxyRequests Off ProxyPreserveHost On ProxyTimeout 12 ProxyBadHeader Ignore ProxyErrorOverride On SetEnv force-proxy-request-1.0 1 SetEnv proxy-nokeepalive 1 SetEnv proxy-sendcl 1 AddDefaultCharset Off Order Deny,Allow Allow from all # UI app -> daemon and back ProxyPassMatch ^/dwarfg/(.*) http://127.0.0.1:DWARFG_PORT/p/$1 ProxyPassReverse /dwarfg/ http://127.0.0.1:DWARFG_PORT/p/ # Grafana dashboard proxy (if Grafana integration is enabled) #ProxyPassMatch ^/grafana_GHASH/(.*) http://127.0.0.1:3000/$1 #ProxyPassReverse /grafana_GHASH http://127.0.0.1:3000