jlesage / docker-baseimage-gui

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

Reverse Proxy and Web Path Prefix #143

Open zaggash opened 2 weeks ago

zaggash commented 2 weeks 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 2 weeks 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 week ago

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