######################## BioTLDR ###############################Listen 80
WSGISocketPrefix /mnt/volume-nyc1-02/project/BioTLDR/wsgi/wsgi<VirtualHost *:80> ServerName www.biotldr.tabomics.cn ServerAdmin he...@biotldr.tk
ErrorLog "logs/error_log_biotldr" #WSGISocketPrefix /mnt/volume-nyc1-02/project/BioTLDR/wsgi/wsgi Alias /static "/mnt/volume-nyc1-02/project/BioTLDR/static"
<Directory "/mnt/volume-nyc1-02/project/BioTLDR/static"> Require all granted </Directory>
<Directory "/mnt/volume-nyc1-02/project/BioTLDR/BioTLDR"> <Files wsgi.py> Require all granted </Files> </Directory> WSGIDaemonProcess BioTLDR python-home=/mnt/volume-nyc1-02/project/BioTLDR/vir_env_py3/ python-path=/mnt/volume-nyc1-02/project/BioTLDR:/mnt/volume-nyc1-02/project/BioTLDR/vir_env_py3/lib/python3.6/site-packages/ WSGIProcessGroup BioTLDR WSGIScriptAlias / /mnt/volume-nyc1-02/project/BioTLDR/BioTLDR/wsgi.py #WSGIApplicationGroup %{GLOBAL}</VirtualHost>
#k80WSGISocketPrefix /mnt/volume-nyc1-02/project/pearDB/wsgi/wsgi<VirtualHost *:80> ServerName www.peardb.tabomics.cn ServerAlias peardb.tabomics.cn ServerAdmin serve...@mydomain.org #ProxyPass / http://tabomics.tk:8008/ #ProxyPassReverse / http://tabomics.tk:8008/ Alias /static "/mnt/volume-nyc1-02/project/pearDB/static" <Directory "/mnt/volume-nyc1-02/project/pearDB/static"> Require all granted </Directory>
<Directory "/mnt/volume-nyc1-02/project/pearDB/pearDB"> <Files wsgi.py> Require all granted </Files> </Directory> WSGIDaemonProcess pearDB python-home=/mnt/volume-nyc1-02/project/pearDB/vir_django_py2.7 python-path=/mnt/volume-nyc1-02/project/pearDB/:/mnt/volume-nyc1-02/project/pearDB/vir_django_py2.7/lib/python2.7/site-packages/ WSGIProcessGroup pearDB WSGIScriptAlias / /mnt/volume-nyc1-02/project/pearDB/pearDB/wsgi.py</VirtualHost>
#<VirtualHost *:80># ServerName www.tabomics.cn# ServerAlias tabomics.cn# ServerAdmin he...@tabomics.cn# ErrorLog "logs/error_log_jbrowse" #CustomLog "logs/access_log_tabomics"
### The configure information below should be added. Alias /jbrowse "/mnt/volume-nyc1-02/project/pearDB/jbrowse-pearDB/" <Directory "/mnt/volume-nyc1-02/project/pearDB/jbrowse-pearDB/"> Options Indexes FollowSymLinks AllowOverride None Require all granted </Directory>#</VirtualHost>
##################TabOmics########################################<VirtualHost *:80> ServerName www.tabomics.cn ServerAlias tabomics.cn ServerAdmin he...@tabomics.cn #ProxyPass / http://tabomics.tk:8008/ #ProxyPassReverse / http://tabomics.tk:8008/ ErrorLog "logs/error_log_tabomics" #CustomLog "logs/access_log_tabomics" Alias /static "/mnt/volume-nyc1-02/project/tabomics/static" <Directory "/mnt/volume-nyc1-02/project/tabomics/static"> Require all granted </Directory>
<Directory "/mnt/volume-nyc1-02/project/tabomics/tabomics"> <Files wsgi.py> Require all granted </Files> </Directory> WSGIDaemonProcess tabomics python-home=/mnt/volume-nyc1-02/project/tabomics/vir_tabomics_py2 python-path=/mnt/volume-nyc1-02/project/tabomics/:/mnt/volume-nyc1-02/project/tabomics/vir_tabomics_py2/lib/python2.7/site-packages/ WSGIProcessGroup tabomics WSGIScriptAlias / /mnt/volume-nyc1-02/project/tabomics/tabomics/wsgi.py</VirtualHost>
Um, i think it would be much easier to deploy if you use one
droplet per project.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bdde099a-bf5d-4362-b5ee-feb643249622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-- Etienne Robillard tka...@yandex.com https://www.isotopesoftware.ca/