$ apt-get update
$ apt-get install python3-pip apache2 libapache2-mod-wsgi-py3
<VirtualHost *:8002>
<Directory /var/www/djangorest_angular/dj_backend/dj_backend>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
WSGIDaemonProcess djng python-home=/var/www/djangorest_angular/tenv python-path=/var/www/djangorest_angular/dj_backend
WSGIProcessGroup djng
WSGIScriptAlias / /var/www/djangorest_angular/dj_backend/dj_backend/wsgi.py
</VirtualHost>
Last active
April 7, 2018 06:04
Star
You must be signed in to star a gist
Digital ocean apache django
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment