Make a backup/snapshot of your working config or/and enable samba so you can edit config and restart in case something go wrong and you can’t access HA web server:
Install nginx and folow doc:
- set domain from duckdns
- in network define port for https access ( let http port disable so you can access on default http://ip:8123 )
- edit configuration.yaml and disable/comment http as per doc.
Enable start on boot, watchdog… restart / reboot.
Now you can access HA server on
https://duckdnsname:port ( use that for external access or regular access if you can define host override in router )
http://ipadress:8123 ( use this for internal or emergency access and do not make this port accessible from www )