Silvan Michael Gebhardt bio photo

Silvan Michael Gebhardt

Unternehmer, Informatiker, Network Operator

Twitter LinkedIn

I was trying to get apache to proxy me my oservium and my opsview:

observium.conf

<VirtualHost *:443>
    ServerName observium.openfactory.ch
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined
    SSLEngine on
    SSLCertificateFile      /etc/ssl/custom/wildcardopenfactory.ch.crt
    SSLCertificateKeyFile   /etc/ssl/custom/wildcardopenfactory.ch.key
    SSLCertificateChainFile /etc/ssl/custom/wildcardopenfactory.ch.chain.crt
    ProxyRequests Off
    ProxyPass / http://10.2.3.4/
    ProxyPassReverse / http://10.2.3.4/

    </Location>

</VirtualHost>

opsview.conf

Works absolutely the same.

Important is only this setting for Observium (otherwise CSS won’t work!) $config['base_url'] = "https://observium.openfactory.ch:443"; which can be set in /opt/observium/config.php