Apache reverse proxy for django app running in singularity container

2019-09-04 Thread bhuffman
I'm trying to set up an Apache reverse proxy for a django app that is running in a singularity container. I've tried the following in my apache conf.d/app.conf: ProxyPreserveHost OnRequestHeader set X-Forwarded-Proto 'https' env=HTTPSProxyPass "/app_prefix/" "http://localhost:8101/"ProxyPass

Apache reverse proxy for django app running in singularity container

2019-09-04 Thread bhuffman
I'm trying to set up an Apache reverse proxy for a django app that is running in a singularity container. I'm also trying to enforce HTTPS on the Apache frontend. I've tried the following in my apache conf.d/app.conf: ProxyPreserveHost OnRequestHeader set X-Forwarded-Proto 'https' env=HTTPS