Skip to content

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

@dale-wahl

Description

@dale-wahl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions