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

Links do not work if behind a Proxy with path #3

Open
dale-wahl opened this issue Feb 3, 2022 · 0 comments
Open

Links do not work if behind a Proxy with path #3

dale-wahl opened this issue Feb 3, 2022 · 0 comments

Comments

@dale-wahl
Copy link
Member

Using an apache config such as this works fine:
<VirtualHost *>
ServerName my.website.com
ProxyPreserveHost On

Docker dmi_pix_plot

ProxyPass / http://127.0.0.1:4000/ connectiontimeout=3600 timeout=3600
ProxyPassReverse / http://127.0.0.1:4000/
```

But if you want to host at my.website.com/pixplot, I seem to be unable to get it to work. The site is hosted at my.website.com/pixplot and all pages are also accessible (e.g. my.website.com/pixplot/uploads), BUT the links redirect without the path to my.website.com. I have tried various methods, but so far unsuccessfully. Something between apache - docker - gunicorn fails and most setups with gunicorn use nginx.

I have been debating using a nginx container to the docker setup and attempting that.

No help yet from StackOverflow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant