Comment on can you boot a server if someone tries to connect
Xanza@lemm.ee 1 day agoBut you gotta understand, there’s no subject to your statement. You just said “it doesn’t work” and I have no idea what you’re doing. Are you installing podman? Are you installing caddy? Are you setting up caddy as a reverse proxy? Are you trying to bring your dog back from the dead? I have no frame of reference.
enemenemu@lemm.ee 1 day ago
Sorry for not having expressed what I did. I wrote a podman compose file, pulled the caddy image, wrote a caddyfile, started it and tried to connect to a service via subdomain.domain.tld .
The caddyfile contains my http and tls ports and the domain and ip for the reverse proxy routing according to the docs.
lucid@lemmy.dbzer0.com 1 day ago
You’ll probably get better help if you post your config and any logs. Caddy may not log an entry to a file but you can watch the console logs to see everything (
podman logs caddy
or similar.)enemenemu@lemm.ee 1 day ago
Thanks. For now, I spend too much time with it. I’ll try some other time again.
Xanza@lemm.ee 1 day ago
Did you setup DNS to point to your caddy sever?
enemenemu@lemm.ee 1 day ago
Yes, it works with nginxproxymanager. There’s probably something going on with selinux - I may disable it the next time to test the assumption.
Xanza@lemm.ee 1 day ago
Is your caddy container network set to host? Or at least set to a network which is on the same network as your proxied services?
Ensure that nginx is stopped, and if the domain doesn’t work, attempt to direct connect using your servers IP address and the correct port. If you still can’t connect, check your firewall rules.