From 4758391b265bb232dc31b90d894e06b6852b661a Mon Sep 17 00:00:00 2001 From: Finn Christiansen Date: Sun, 11 Jun 2023 15:25:04 +0200 Subject: [PATCH] :wrench: added apache sample config file --- apache-rgb.conf | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 apache-rgb.conf diff --git a/apache-rgb.conf b/apache-rgb.conf new file mode 100644 index 0000000..c2a2c9d --- /dev/null +++ b/apache-rgb.conf @@ -0,0 +1,23 @@ + + 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 + + + WSGIProcessGroup rgb + WSGIApplicationGroup %{GLOBAL} + Order deny,allow + Allow from all + + +