🔧 added apache sample config file
All checks were successful
Python formatting PEP8 / Pyhton-PEP8 (push) Successful in 15s
CSS Linter / CSS-Lint (push) Successful in 20s
Javascript Linter / Javascript-Lint (push) Successful in 11s

This commit is contained in:
Finn Christiansen 2023-06-11 15:25:04 +02:00
parent a45e61856b
commit 4758391b26

23
apache-rgb.conf Normal file
View file

@ -0,0 +1,23 @@
<VirtualHost *:80>
ServerAdmin foobar@example.com
ServerName rpi-rgb
DocumentRoot /var/www/vhosts/rgb.local
ErrorLog ${APACHE_LOG_DIR}/rgb.local_error.log
CustomLog ${APACHE_LOG_DIR}/rgb.local_access.log combined
SetEnv APP_CONFIG "production"
WSGIDaemonProcess rgb user=www-data group=www-data threads=5
WSGIScriptAlias / /var/www/vhosts/rgb.local/rgb.wsgi
WSGIScriptReloading Off
WSGIPassAuthorization On
<Directory /var/www/vhosts/rgb.local>
WSGIProcessGroup rgb
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
</VirtualHost>