<VirtualHost *:80>
ServerName fandb.vidhyadhan.in
DocumentRoot /var/www/fandb.vidhyadhan.in/frontend
<Directory /var/www/fandb.vidhyadhan.in/frontend>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
</Directory>
ErrorLog /var/www/fandb.vidhyadhan.in/frontend/error.log
CustomLog /var/www/fandb.vidhyadhan.in/frontend/access.log combined
</VirtualHost>
<VirtualHost *:80>
ServerName fandbapi.vidhyadhan.in
WSGIDaemonProcess fandb.vidhyadhan.in_backend python-home=/var/www/fandb.vidhyadhan.in/backend/venv python-path=/var/www/fandb.vidhyadhan.in/backend
WSGIProcessGroup fandb.vidhyadhan.in_backend
WSGIPassAuthorization On
WSGIScriptAlias / /var/www/fandb.vidhyadhan.in/backend/backend/wsgi.py
ErrorLog /var/www/fandb.vidhyadhan.in/backend/error.log
CustomLog /var/www/fandb.vidhyadhan.in/backend/access.log combined
</VirtualHost>
Created
May 21, 2019 06:48
-
-
Save suhailvs/56bb10e51ebc7f5a91e5b2ca4b7c58b1 to your computer and use it in GitHub Desktop.
Apache Configuration for angular app and Django app
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment