From 743db0a11f637195d19db4ef3e50fa2e2437cce0 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Fri, 14 May 2021 19:40:04 -0500 Subject: [PATCH] remove extra / --- roles/lokole/templates/lokole-nginx.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/lokole/templates/lokole-nginx.conf.j2 b/roles/lokole/templates/lokole-nginx.conf.j2 index d2831c6e3..24d9adc7f 100644 --- a/roles/lokole/templates/lokole-nginx.conf.j2 +++ b/roles/lokole/templates/lokole-nginx.conf.j2 @@ -2,11 +2,11 @@ location = {{ lokole_url }}/favicon.ico { alias /library/lokole/venv/lib/python{{ python_ver }}/site-packages/opwen_email_client/webapp/static/favicon.ico; } -location ~ ^/{{ lokole_url }}/static/(.*)$ { +location ~ ^{{ lokole_url }}/static/(.*)$ { alias /library/lokole/venv/lib/python{{ python_ver }}/site-packages/opwen_email_client/webapp/static/$1; } -location /{{ lokole_url }}/ { +location {{ lokole_url }}/ { proxy_set_header Host $http_host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;