jbake-org / jbake.org

Contents behind the http://jbake.org web site
10 stars 39 forks source link

server.hostname needs to be set to (e.g.) 0.0.0.0, not localhost #160

Open sebbASF opened 5 months ago

sebbASF commented 5 months ago

When running under Docker, the server hostname needs to be defined:

https://github.com/jbake-org/jbake.org/blob/5ed854146b88f33dc7fa429afa54ff50205508f8/content/download.adoc?plain=1#L59

However, the default setting of server.hostname=localhost does not work. The server drops the connection immediately. I have found that using server.hostname=0.0.0.0 works.

sebbASF commented 5 months ago

This is noted here: https://github.com/jbake-org/jbake/blob/5921ee529e324d71e00a96a12968021ea12dd103/README.asciidoc?plain=1#L91 but is not in the Download doc which is more likely to be read by first-time users