File size: 460 Bytes
d1e5295
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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>