rpi-rgb/apache-rgb.conf

24 lines
644 B
Text
Raw Permalink Normal View History

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