passport / django.conf
thuralinhtut's picture
docker and django
d1e5295
raw
history blame
460 Bytes
<VirtualHost *:80>
ServerName passportapi.pythonanywhere.com/
# Set the location of the WSGI script
WSGIScriptAlias / /passportapi/wsgi.py
# Set additional configurations if needed
# ...
<Directory /passportapi>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
# Set static files location
Alias /static /static
# Set media files location
Alias /media /media
</VirtualHost>