jlesage / docker-baseimage-gui

A minimal docker baseimage to ease creation of X graphical application containers
MIT License
1.2k stars 179 forks source link

Reverse Proxy and Web Path Prefix #143

Open zaggash opened 1 month ago

zaggash commented 1 month ago

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.

jlesage commented 1 month ago

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?

zaggash commented 1 month ago

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

jlesage commented 3 hours ago

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