docker-baseimage-gui icon indicating copy to clipboard operation
docker-baseimage-gui copied to clipboard

Reverse Proxy and Web Path Prefix

Open zaggash opened this issue 1 year ago • 6 comments

Hi,

I would like to add a PathPrefix to the container behind a Reverse Proxy. I found out this old issue https://github.com/jlesage/docker-baseimage-gui/issues/139.

But I do not understand what has been fixed in the issue.

I can't make it work in Traefik. Addin a PathPrefix still redirect me to $host/login no matter what.

zaggash avatar Oct 10 '24 16:10 zaggash

The container already supports being behind a proxy under a path prefix. Nginx works well once you now the correct config, but I don't know about Traefik. Is the problem exist with or without web authentication?

jlesage avatar Oct 10 '24 19:10 jlesage

I tried to set this up with Web Authentication and It rewrites my PathPrefix to /login

zaggash avatar Oct 10 '24 19:10 zaggash

Do you still have the problem with the latest version ? The web authentication issue you are mentioning should be fixed.

jlesage avatar Nov 22 '24 00:11 jlesage

Will there be a new release or should I build the latest commit to test it ?

zaggash avatar Nov 22 '24 16:11 zaggash

The latest version (4.6.4) already has the fix.

jlesage avatar Nov 22 '24 18:11 jlesage

Then no, I'm already using docker tag 22.04-v4

Could be an issue with my setup, I may be missing an option to make it work. But I already have traefik prefix working with other services without more options hence my initial request.

zaggash avatar Nov 22 '24 21:11 zaggash