mod from tamaulipas

This commit is contained in:
David Itehua Xalamihua 2025-08-28 12:33:01 -06:00
parent 3b9be320fc
commit 1ef45cfc51
2 changed files with 11 additions and 11 deletions

View File

@ -2,18 +2,18 @@
Listen 8084 Listen 8084
<VirtualHost *:8084> <VirtualHost *:8084>
ServerAdmin davidix1991@gmail.com ServerAdmin davidix1991@gmail.com
ServerName xala.dev ServerName david.xala.dev
ServerAlias xala.dev ServerAlias david.xala.dev
DocumentRoot /var/www/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 WSGIDaemonProcess app_dix_xala user=www-data group=www-data threads=6 python-home=/var/www/david.xala.dev/.venv
WSGIScriptAlias / /var/www/xala.dev/xala.dev.wsgi WSGIScriptAlias / /var/www/david.xala.dev/david.xala.dev.wsgi
ErrorLog /var/www/xala.dev/log/error.log ErrorLog /var/www/david.xala.dev/log/error.log
CustomLog /var/www/xala.dev/log/access.log combined CustomLog /var/www/david.xala.dev/log/access.log combined
<Directory /var/www/xala.dev> <Directory /var/www/david.xala.dev>
WSGIProcessGroup app6 WSGIProcessGroup app_dix_xala
WSGIApplicationGroup %{GLOBAL} WSGIApplicationGroup %{GLOBAL}
Order deny,allow Order deny,allow
Require all granted Require all granted

View File

@ -2,10 +2,10 @@ import sys
import logging import logging
# ruta de linux al proyecto de flask # 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 # 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 # Set up logging
logging.basicConfig(stream=sys.stderr, level=logging.DEBUG) logging.basicConfig(stream=sys.stderr, level=logging.DEBUG)