proxy set root path

(Read this, then delete it before you post.) To get the best help possible, please:

  • explain what you are trying to do,
  • show what you have already tried,
  • include error messages and log output,
  • and link to any relevant resources.

Remember, this community only works when those who get help also give help. Thanks for participating!

I have a docker container:

  1. name: webtest
  2. ip:
  3. port:8000
    I set caddyfile:{
    proxy /webtest {
    without /webtest
    Now, view,it’s work. sources have a label href=’/tag’. if i click on,it will jump to i want click this label,it’s auto jump to should I set it?

You need to load /webtest/ instead of /webtest when using relative hrefs.

This docker container is not mine. Can I set it through the configuration file(caddyfile)?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.