ServerName passportapi.pythonanywhere.com/ # Set the location of the WSGI script WSGIScriptAlias / /passportapi/wsgi.py # Set additional configurations if needed # ... Require all granted # Set static files location Alias /static /static # Set media files location Alias /media /media