[odrs-web/oscp] Put the wsgi file on the same directory as the app folder
- From: Andrea Veri <averi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [odrs-web/oscp] Put the wsgi file on the same directory as the app folder
- Date: Tue, 13 Nov 2018 11:25:22 +0000 (UTC)
commit 735374c3c0e5ff7a8b8e9b3ea5a03adc87910532
Author: Andrea Veri <averi redhat com>
Date: Tue Nov 13 12:25:10 2018 +0100
Put the wsgi file on the same directory as the app folder
app_data/{wsgi-scripts => }/odrs.wsgi | 0
odrs.gnome.org.conf | 8 ++------
2 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/app_data/wsgi-scripts/odrs.wsgi b/app_data/odrs.wsgi
similarity index 100%
rename from app_data/wsgi-scripts/odrs.wsgi
rename to app_data/odrs.wsgi
diff --git a/odrs.gnome.org.conf b/odrs.gnome.org.conf
index 08a1dfc..e02cdb4 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/wsgi-scripts/odrs.wsgi
+ WSGIScriptAlias / /opt/app-root/src/odrs.wsgi
SetEnv ODRS_REVIEWS_SECRET replace_odrs_secret
SetEnv MYSQL_DB_USERNAME replace_odrs_username
@@ -30,12 +30,8 @@
</Location>
</VirtualHost>
-<Directory "/opt/app-root/src/app/static">
+<Directory "/opt/app-root/src">
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]