Skip to content

Commit

Permalink
Merge pull request #223 from HSLdevcom/DT-5761
Browse files Browse the repository at this point in the history
DT-5761 Direct opas.matka.fi to v3 UI
  • Loading branch information
optionsome authored Mar 20, 2023
2 parents 118ee06 + edd5898 commit aed81f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ http {
}

server {
server_name dev.digitransit.fi opas.matka.fi;
server_name dev.digitransit.fi;
listen 8080;

if ($http_x_forwarded_proto != "https") {
Expand Down Expand Up @@ -156,7 +156,7 @@ http {
}

server {
server_name next-dev-matka.digitransit.fi;
server_name next-dev-matka.digitransit.fi opas.matka.fi;
listen 8080;

if ($http_x_forwarded_proto != "https") {
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ describe('matka ui', function() {
testRedirect('www.opas.matka.fi','/kissa','http://opas.matka.fi/kissa');
testRedirect('opas.matka.fi','/kissa','https://opas.matka.fi/kissa');

testProxying('opas.matka.fi','/','digitransit-ui-matka-v2:8080', true);
testProxying('opas.matka.fi','/','digitransit-ui-matka-v3:8080', true);

testCaching('opas.matka.fi','/sw.js', true);

Expand Down

0 comments on commit aed81f2

Please sign in to comment.