Django Rest Framework Reverse Relationship Breaks When Behind Proxy Django Rest Framework Reverse Relationship Breaks When Behind Proxy apache apache

Django Rest Framework Reverse Relationship Breaks When Behind Proxy


I have a similar setup and it seems to work just fine.

Make sure you have USE_X_FORWARDED_HOST = True in your settings.py as it defaults to False

More info here


In your httpd.conf there is a typo httpd.

The line should be:

ProxyPassReverse / http://localhost:8000/