[odrs-web/oscp] Revert "Put the wsgi file on the same directory as the app folder"



commit 1f7c173e0ed8e3edefdc0fd7b929cbd112028bc5
Author: Andrea Veri <averi redhat com>
Date:   Tue Nov 13 12:26:56 2018 +0100

    Revert "Put the wsgi file on the same directory as the app folder"
    
    This reverts commit 735374c3c0e5ff7a8b8e9b3ea5a03adc87910532.

 app_data/{ => wsgi-scripts}/odrs.wsgi | 0
 odrs.gnome.org.conf                   | 8 ++++++--
 2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/app_data/odrs.wsgi b/app_data/wsgi-scripts/odrs.wsgi
similarity index 100%
rename from app_data/odrs.wsgi
rename to app_data/wsgi-scripts/odrs.wsgi
diff --git a/odrs.gnome.org.conf b/odrs.gnome.org.conf
index e02cdb4..08a1dfc 100644
--- a/odrs.gnome.org.conf
+++ b/odrs.gnome.org.conf
@@ -13,7 +13,7 @@
     WSGIDaemonProcess odrs.gnome.org processes=10 threads=15 maximum-requests=100
     WSGIProcessGroup odrs.gnome.org
 
-    WSGIScriptAlias / /opt/app-root/src/odrs.wsgi
+    WSGIScriptAlias / /opt/app-root/src/wsgi-scripts/odrs.wsgi
 
     SetEnv ODRS_REVIEWS_SECRET replace_odrs_secret
     SetEnv MYSQL_DB_USERNAME replace_odrs_username
@@ -30,8 +30,12 @@
     </Location>
 </VirtualHost>
 
-<Directory "/opt/app-root/src">
+<Directory "/opt/app-root/src/app/static">
   AllowOverride None
 
   Require all granted
 </Directory>
+
+<Directory "/opt/app-root/src/wsgi-scripts">
+  Require all granted
+</Directory>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]