From 118ee06b86604e351e4136b207ac4e189a3156c3 Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Fri, 10 Mar 2023 11:19:21 +0200 Subject: [PATCH] Add root redirect to hsl UI v3 --- nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nginx.conf b/nginx.conf index f642bac..99307c8 100644 --- a/nginx.conf +++ b/nginx.conf @@ -396,6 +396,10 @@ http { include basicsettings.conf; } + location = / { + return 301 https://test.hslfi.hsldev.com/?fromJourneyPlanner=true; + } + location / { proxy_pass http://digitransit-ui-hsl-v3:8080; include basicsettings.conf;