AAE-4262 fix docker redirect with relative url (#1857)

This commit is contained in:
Marcello Teodori
2020-12-05 13:11:38 +01:00
committed by GitHub
parent 97372711ea
commit 1243e69833
2 changed files with 9 additions and 5 deletions

View File

@@ -5,8 +5,10 @@ server {
#charset koi8-r;
#access_log /var/log/nginx/host.access.log main;
root /usr/share/nginx/html;
rewrite ^([^.]*[^/])$ $1/ permanent;
root /usr/share/nginx/html;
rewrite ^([^.]*[^/])$ $1/ permanent;
absolute_redirect off;
location ${BASE_PATH} {
set $EVAL_BASE_PATH "${BASE_PATH}";