Last active
January 31, 2020 13:00
-
-
Save skdblog1999/4f80e745f9f1de2e1e9d6fa7b89fc69b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:80> | |
| ServerName <your-server-name-or-domain-name> | |
| WSGIDaemonProcess <project_name> python-path=/home/ubuntu/<project_name>:/home/ubuntu/miniconda3/envs/<project_name>/lib/python<version>/site-packages | |
| WSGIProcessGroup <project_name> | |
| WSGIScriptAlias / /home/ubuntu/<project_name>/<project_name>.wsgi | |
| <Directory /home/ubuntu/<project_name>/> | |
| Require all granted | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| <Directory /home/ubuntu/<project_name>/<project_name>/> | |
| Require all granted | |
| Order allow,deny | |
| Allow from all | |
| </Directory> | |
| ErrorLog ${APACHE_LOG_DIR}/error.log | |
| LogLevel warn | |
| CustomLog ${APACHE_LOG_DIR}/access.log combined | |
| </VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment