From a4a7c3c1cdca314b5c32dea50403ac7f639e1891 Mon Sep 17 00:00:00 2001 From: sharhio Date: Tue, 7 Jan 2025 13:42:38 +0200 Subject: [PATCH] remove waltti-test auth --- nginx.conf | 4 ++-- test.js | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nginx.conf b/nginx.conf index 8739ddd..8fca1e1 100644 --- a/nginx.conf +++ b/nginx.conf @@ -568,8 +568,8 @@ http { location / { proxy_pass http://digitransit-ui-waltti-test:8080; include basicsettings.conf; - auth_basic "waltti-test.digitransit.fi"; - auth_basic_user_file .htpasswd; + # auth_basic "waltti-test.digitransit.fi"; + # auth_basic_user_file .htpasswd; } } diff --git a/test.js b/test.js index c0dc3f8..ff5ee23 100644 --- a/test.js +++ b/test.js @@ -306,6 +306,8 @@ describe('ext-proxy', function() { }); describe('waltti-test ui', function() { - testCallingWithoutCredentials('waltti-test.digitransit.fi','/kissa','https://waltti-test.digitransit.fi/kissa'); - testWithCorrectCredentials('waltti-test.digitransit.fi','/kissa', 'test', 'test', 'https://waltti-test.digitransit.fi/kissa', true); + // testCallingWithoutCredentials('waltti-test.digitransit.fi','/kissa','https://waltti-test.digitransit.fi/kissa'); + // testWithCorrectCredentials('waltti-test.digitransit.fi','/kissa', 'test', 'test', 'https://waltti-test.digitransit.fi/kissa', true); + testRedirect('waltti-test.digitransit.fi','/kissa','https://waltti-test.digitransit.fi/kissa'); + testProxying('waltti-test.digitransit.fi','/','digitransit-ui-waltti-test:8080', true); });