Hi guys,
I’m running into some trouble trying to set this up.
I followed the guide, I did following steps:
1 Configured router to forward ports 80/443 to my raspberry Pi (192.168.1.6)
2 Added docker-compose with the same config as in the first topic post (with march 11,2019 edit), with modifications:
- Replaced
mydomain
with my actual duckdns domain name
- Replaced
[email protected]
with my actual emailaddress
- Replaced
TZ=Asia/Dubai
with TZ=Europe/Amsterdam
- Replaced
/home/user/docker/letsencrypt/config
with a path I prefer
- Replaced
DUCKDNSTOKEN=XXXX
with my actual duckdns token
- Changed the ports section to
80:80
and 443:443
3 Let it run once to set up the docker container and generate the folder/file structure
4 Edited the config/nginx/site-confs/default
file and replaced the contents with the same as provided in the topic start post, with modifications:
- Replaced all occurrences of
mydomain
by my actual domain name
- Replaced all occurrences of
hostip
by 192.168.1.6
(where my pi is located)
5 Did a restart of the container to load the updates
The docker log now repeatedly outputs:
letsencrypt | nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
letsencrypt | nginx: [emerg] could not build server_names_hash, you should increase server_names_hash_bucket_size: 32
And if I go to hass.**.duckdns.org
or sub1.**.duckdns.org
(both with http and https), my browser gives:
This site can’t be reached
hass.**.duckdns.org refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
In port 5050 I have a simple ‘hello world’ node.js webserver running (to test sub1 functionality).
On **.duckdns.org:8123
I can reach HA fine, also on **.duckdns.org:5050
I see my webserver running.
It seems I forgot an essential step, or the guide is outdated. Hope someone can point me in the right direction. Thanks!