🔧 added apache sample config file
This commit is contained in:
parent
a45e61856b
commit
4758391b26
1 changed files with 23 additions and 0 deletions
23
apache-rgb.conf
Normal file
23
apache-rgb.conf
Normal 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>
|
Loading…
Reference in a new issue