mod from tamaulipas
This commit is contained in:
parent
3b9be320fc
commit
1ef45cfc51
@ -2,18 +2,18 @@
|
||||
Listen 8084
|
||||
<VirtualHost *:8084>
|
||||
ServerAdmin davidix1991@gmail.com
|
||||
ServerName xala.dev
|
||||
ServerAlias xala.dev
|
||||
DocumentRoot /var/www/xala.dev
|
||||
ServerName david.xala.dev
|
||||
ServerAlias david.xala.dev
|
||||
DocumentRoot /var/www/david.xala.dev
|
||||
|
||||
WSGIDaemonProcess app6 user=www-data group=www-data threads=6 python-home=/var/www/xala.dev/.venv
|
||||
WSGIScriptAlias / /var/www/xala.dev/xala.dev.wsgi
|
||||
WSGIDaemonProcess app_dix_xala user=www-data group=www-data threads=6 python-home=/var/www/david.xala.dev/.venv
|
||||
WSGIScriptAlias / /var/www/david.xala.dev/david.xala.dev.wsgi
|
||||
|
||||
ErrorLog /var/www/xala.dev/log/error.log
|
||||
CustomLog /var/www/xala.dev/log/access.log combined
|
||||
ErrorLog /var/www/david.xala.dev/log/error.log
|
||||
CustomLog /var/www/david.xala.dev/log/access.log combined
|
||||
|
||||
<Directory /var/www/xala.dev>
|
||||
WSGIProcessGroup app6
|
||||
<Directory /var/www/david.xala.dev>
|
||||
WSGIProcessGroup app_dix_xala
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
Order deny,allow
|
||||
Require all granted
|
@ -2,10 +2,10 @@ import sys
|
||||
import logging
|
||||
|
||||
# ruta de linux al proyecto de flask
|
||||
sys.path.insert(0, '/var/www/xala.dev')
|
||||
sys.path.insert(0, '/var/www/david.xala.dev')
|
||||
|
||||
# ruta de linux al ambiente virtual de flask
|
||||
sys.path.insert(0, '/var/www/xala.dev/.venv/lib/python3.11/site-packages')
|
||||
sys.path.insert(0, '/var/www/david.xala.dev/.venv/lib/python3.13/site-packages')
|
||||
|
||||
# Set up logging
|
||||
logging.basicConfig(stream=sys.stderr, level=logging.DEBUG)
|
Loading…
x
Reference in New Issue
Block a user