From 0e3004950327ce5d069d8fccc1480e81eca5a9e8 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 9 Apr 2020 09:55:34 +0200 Subject: [PATCH] Fix API configuration --- ansible/templates/alertad.conf | 3 +++ ansible/templates/config.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ansible/templates/alertad.conf b/ansible/templates/alertad.conf index 548dce1..747c01f 100644 --- a/ansible/templates/alertad.conf +++ b/ansible/templates/alertad.conf @@ -4,6 +4,9 @@ DEBUG = True SECRET = "{{ alerta_secret_key }}" +BASE_URL = "/api" +USE_PROXYFIX = True + AUTH_REQUIRED = True AUTH_PROVIDER = 'keycloak' diff --git a/ansible/templates/config.json b/ansible/templates/config.json index ce7b959..6a445b5 100644 --- a/ansible/templates/config.json +++ b/ansible/templates/config.json @@ -1 +1 @@ -{ "endpoint": "https://{{ domain }}" } +{ "endpoint": "/api" }