Advertisement
Andrewssss

flaskapp.test.conf

Dec 6th, 2023 (edited)
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SSH Config 0.57 KB | Source Code | 0 0
  1. <VirtualHost *:80>
  2.     ServerAdmin webmaster@localhost
  3.     ServerName www.flaskapp.test
  4.     ServerAlias flaskapp.test
  5.     ErrorLog /var/www/flaskapp.test/logs/error.log
  6.     CustomLog /var/www/flaskapp.test/logs/access.log combined
  7.  
  8.     WSGIDaemonProcess flaskapp user=www-data group=www-data threads=5
  9.     WSGIProcessGroup flaskapp
  10.     WSGIScriptAlias / /var/www/FLASKAPPS/flaskapp.wsgi
  11.     Alias /static/ /var/www/FLASKAPPS/flaskapp/static
  12.     <Directory /var/www/FLASKAPPS/flaskapp/static>
  13.         Order allow,deny
  14.         Allow from all
  15.     </Directory>
  16. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement