Skip to content

Conversation

@islipfd19
Copy link

These minor updates enables SSL in Apache, providing the user a secure connection when entering their login information at the login screen. It also resolves the mixed content issue for reverse proxies.

The user will need to create their own self signed certificates or obtain them from a service such as LetsEncrypt.

LogLevel warn
CustomLog /opt/observium/logs/access_log combined
ServerSignature On
SSLEngine On
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding HTTPS is fine but HTTP should still work. There should be a new virtual host on a different port for TLS.

EXPOSE 8668/tcp

VOLUME ["/config","/opt/observium/logs","/opt/observium/rrd"]
VOLUME ["/config","/opt/observium/logs","/opt/observium/rrd","/opt/observium/certificates"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if it should need another volume mapping just for the certificates.

Ideally, it should use Let's Encrypt's Certbot to automatically provision a certificate. DNS-01 challenges could make sense since I don't have my Observium exposed to the Internet.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's just how I had setup my environment. A separate directory is not necessary. I manage my own internal CA and do not expose Observium to the internet. The DNS-01 challenges from LetEncrypt should certainly work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants