#Gunicorn deployment

4 messages · Page 1 of 1 (latest)

ashen orchid
#

When i run the server with python manage.py runserver 0.0.0.0:8000 --settings=paymall_backend.settings.prod i can access the domain in port 8000, but when i run ther server with gunicorn --bind 0.0.0.0:8000 paymall_backend.wsgi or gunicorn --bind 0.0.0.0:8000 paymall_backend.wsgi:application then i can't access and get Bad request 400, i have two DNS setup in the domain AAAA @ with IPv6 and A @ IPv4. How can i resolve this error?

raven rapids
#

You should add those DNS in settings.ALLOWED_HOST

#

If you haven't done that already

ashen orchid