From 0490bca2680ee0f8b8858eb9f2f7030a15f223f5 Mon Sep 17 00:00:00 2001 From: adamscmRH Date: Tue, 6 Mar 2018 16:00:10 -0500 Subject: [PATCH] add csrf & session settings --- installer/kubernetes/templates/configmap.yml.j2 | 3 +++ installer/openshift/templates/configmap.yml.j2 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/installer/kubernetes/templates/configmap.yml.j2 b/installer/kubernetes/templates/configmap.yml.j2 index c506c3bbea..bfcf555c63 100644 --- a/installer/kubernetes/templates/configmap.yml.j2 +++ b/installer/kubernetes/templates/configmap.yml.j2 @@ -20,6 +20,9 @@ data: CLUSTER_HOST_ID = socket.gethostname() SYSTEM_UUID = '00000000-0000-0000-0000-000000000000' + SESSION_COOKIE_SECURE = False + CSRF_COOKIE_SECURE = False + REMOTE_HOST_HEADERS = ['HTTP_X_FORWARDED_FOR'] STATIC_ROOT = '/var/lib/awx/public/static' diff --git a/installer/openshift/templates/configmap.yml.j2 b/installer/openshift/templates/configmap.yml.j2 index 7ff412876a..b8e5f42a83 100644 --- a/installer/openshift/templates/configmap.yml.j2 +++ b/installer/openshift/templates/configmap.yml.j2 @@ -20,6 +20,9 @@ data: CLUSTER_HOST_ID = socket.gethostname() SYSTEM_UUID = '00000000-0000-0000-0000-000000000000' + SESSION_COOKIE_SECURE = False + CSRF_COOKIE_SECURE = False + REMOTE_HOST_HEADERS = ['HTTP_X_FORWARDED_FOR'] STATIC_ROOT = '/var/lib/awx/public/static'