GithubHelp home page GithubHelp logo

Comments (3)

abiosoft avatar abiosoft commented on June 12, 2024

Kindly stop recreating this issue. It has been addressed here #251

from caddy-docker.

japrogramer avatar japrogramer commented on June 12, 2024

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

from caddy-docker.

japrogramer avatar japrogramer commented on June 12, 2024

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.

from caddy-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.