Closed japrogramer closed 4 years ago
Kindly stop recreating this issue. It has been addressed here https://github.com/abiosoft/caddy-docker/issues/251
I did upgrade to caddy 2 as this post shows. still can't use admin.
made new issue because #251 was closed and was about v1 this time it's about v2
Managed to connect to the admin but im getting this error,
{"level":"error","ts":1592287487.6628766,"logger":"admin.api","msg":"request error","error":"host not allowed: 127.0.0.1:2015","status_code":403}
when I try to get the url from inside the container i get this
{"level":"info","ts":1592287479.9517336,"logger":"admin.api","msg":"received request","method":"GET","host":"127.0.0.1:2019","uri":"/config/","remote_addr":"127.0.0.1:52946","headers":{"Accept":["*/*"],"User-Agent":["curl/7.67.0"]}}
config log is
{"level":"info","ts":1592285768.9544978,"logger":"admin","msg":"admin endpoint started","address":"tcp/localhost:2019","enforce_origin":false,"origins":["localhost:2019","[::1]:2019","127.0.0.1:2019"]}
I can't use 2019 in the caddyfile because that port is already in use. enforce_origins seems to be too strict.
I'm having the same problem.
Can't access admin