Updated Docker SSL section.
@@ -217,9 +217,17 @@ example, for Apache's *combined* log format:
output /srv/report/index.html
real-time-html true
-If you want a secure connection, a TLS/SSL certificate and a key files must be
-configured as well in your config file:
+If you want to expose goaccess on a different port on the host machine, you
+*have to* set the `ws-url` option in the config file, e.g.:
+
+ ws-url ws://example.com:8080
+
+or for secured connections (TLS/SSL), please ensure your configuration file
+contains the following lines:
+ ws-url wss://example.com:8080
+
+ # Note that ssl-cert and ssl-key are needed to enable TLS/SSL secured connections.
ssl-cert /srv/data/domain.crt
ssl-key /srv/data/domain.key
@@ -241,19 +249,6 @@ have to rebuild from scratch. Simply restart the container:
docker restart goaccess
-If you want to expose goaccess on a different port on the host machine, you
-*have to* set the `ws-url` option in the config file, e.g.:
-
- ws-url ws://example.com:8080
-
-or for secured connections, please ensure your configuration file has:
-
- ws-url wss://example.com:8080
-
- # Note that ssl-cert and ssl-key are needed to enable TLS/SSL secured connections.
- ssl-cert /srv/data/domain.crt
- ssl-key /srv/data/domain.key
-
And start the container as follows:
docker run --restart=always -d -p 8080:7890 \
