Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker with path for reverse proxy https://example.com/somepath/ #3167

Open
chrismaster opened this issue Sep 20, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@chrismaster
Copy link

Is it possible for docker to set a path with docker for a reverse proxy?
Didn't find any environment variables, or env.file to set https://example.com/PATH/

@chrismaster chrismaster added the bug Something isn't working label Sep 20, 2024
@chrismaster
Copy link
Author

What works is mount index.html Volume=%h/tmailDATA/index.html:/usr/share/nginx/html/index.html:Z (for podman with quadlet)
and edit <base href="/"> to eg <base href="/tmail/">
Maybe not an elegant solution, but it works.
Some environment variables would be a great addition. e.g. path, port, ...
for changing port i had to mount nginx.conf
Volume=%h/tmailDATA/nginx.conf:/etc/nginx/nginx.conf:Z
and change listen 80; to eg listen 3000;
Thx for this cool project....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant