[damned-lies] chore: add staging and testing envs to HTTP_HOST
- From: Guillaume Bernard <gbernard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] chore: add staging and testing envs to HTTP_HOST
- Date: Tue, 10 May 2022 08:30:03 +0000 (UTC)
commit 5c64efdae5c3d07f8d5bc8222f724610ee12bd45
Author: Guillaume Bernard <contact guillaume-bernard fr>
Date: Tue May 10 09:32:18 2022 +0200
chore: add staging and testing envs to HTTP_HOST
containers/production/configuration/httpd.conf.jinja2 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/containers/production/configuration/httpd.conf.jinja2
b/containers/production/configuration/httpd.conf.jinja2
index 77819ba3..d6ebf1c5 100644
--- a/containers/production/configuration/httpd.conf.jinja2
+++ b/containers/production/configuration/httpd.conf.jinja2
@@ -19,8 +19,9 @@
AddType text/plain .pot
<Directory "{{ damned_lies_project_directory }}">
- # Avoid sending request to Django when host is not correct.
Require expr %{HTTP_HOST} == "l10n.gnome.org"
+ Require expr %{HTTP_HOST} == "damned-lies-staging.apps.openshift4.gnome.org"
+ Require expr %{HTTP_HOST} == "damned-lies-testing.apps.openshift4.gnome.org"
</Directory>
<DirectoryMatch "{{ damned_lies_project_directory }}/(static|damnedlies)">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]