Django REST Framework seems to ignore X-Forwarded-Host header so a forced Host header has been added to nginx.conf. This fixed the behavior where API URLs were always generated with the host http://peering-manager:8001/ when running with Docker. (E.g. on /api/ URL.)
Django REST Framework seems to ignore X-Forwarded-Host header so a forced Host header has been added to nginx.conf. This fixed the behavior where API URLs were always generated with the host http://peering-manager:8001/ when running with Docker. (E.g. on /api/ URL.)