From 0c750987429f5fd009ec8b3e55da67377cadd9f3 Mon Sep 17 00:00:00 2001 From: A Holt Date: Wed, 22 Apr 2020 11:00:59 -0400 Subject: [PATCH] Softcode kolibri-nginx.conf.j2 --- roles/kolibri/templates/kolibri-nginx.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/kolibri/templates/kolibri-nginx.conf.j2 b/roles/kolibri/templates/kolibri-nginx.conf.j2 index c917516d5..c3326aeaf 100644 --- a/roles/kolibri/templates/kolibri-nginx.conf.j2 +++ b/roles/kolibri/templates/kolibri-nginx.conf.j2 @@ -2,7 +2,7 @@ location {{ kolibri_url }} { proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Scheme $scheme; - proxy_set_header X-Script-Name /kolibri; + proxy_set_header X-Script-Name {{ kolibri_url_without_slash }}; proxy_pass http://127.0.0.1:8009; }