I run Django in gunicorn (started via systemd) behind Apache:
<VirtualHost *:443>
...
<Location /relayrace/>
ProxyPass unix:/run/gunicorn-traverse.sock|http://127.0.0.1/
ProxyPassReverse unix:/run/gunicorn-traverse.sock|http://127.0.0.1/
</Location>
But the URLs (for example email created by django-allauth) use 127.0.0.1
and not the real FQDN.
How to fix this?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…