URL PATH Rewrite

1. Caddy version (caddy version):


2. How I run Caddy:

Docker Compose with Caddyfile

a. System environment:

Docker version 19.03.12
Docker-Compose version 1.26.2

b. Command:

docker-compose up

c. Service/unit/compose file:

paste full file contents here

d. My complete Caddyfile or JSON config:

server1/netbox/ {
    reverse_proxy netbox:8080

3. The problem I’m having:

I like to troubleshoot the app deployment before moving cnames towards a server using the logic of the server name and the app name for the url path.  The challenge is that when I browse to 
<servername>/netbox/ the url gets changed to <servername>/login/?next=/netbox/ the valid url should be <servername>/netbox/login/?next=/

4. Error messages and/or full log output:

5. What I already tried:

6. Links to relevant resources:

Thanks for the help!

You’re running into this problem:

Thanks! My search fu was failing me.

This topic was automatically closed after 30 days. New replies are no longer allowed.