rpi-rgb/apache-rgb.conf
Finn Christiansen 4758391b26
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
🔧 added apache sample config file
2023-06-11 15:25:04 +02:00

23 lines
644 B
Text

<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>