My caddy config:
mydomain.com {
proxy / localhost:4483
}
And I run it as:
$ caddy -conf myConfig
Activating privacy features... done.
https://mydomain.com
http://mydomain.com
WARNING: File descriptor limit 1024 is too low for production servers. At least 8192 is recommended. Fix with "ulimit -n 8192".
So, when I visit mydomain.com
, the page never opens. I can access the port too myip:4483 and I can see my page.
I have also run:
sudo setcap cap_net_bind_service=+ep $(which caddy)
Caddy version:
$ caddy -version
Caddy 0.10.10 (non-commercial use only)
I have disabled firewalls also.