Skip to content

Commit

Permalink
Merge pull request #127 from HSLdevcom/uusi-reittiopas
Browse files Browse the repository at this point in the history
Add new domains for digitransit-ui-hsl-next
  • Loading branch information
vesameskanen authored Jun 5, 2020
2 parents 3839ee0 + bc8fcad commit c689e88
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ http {
}

server {
server_name next-dev.digitransit.fi;
server_name next-dev.digitransit.fi uusi.reittiopas.fi uusi.reittiopas.hsl.fi;
listen 8080;

if ($http_x_forwarded_proto != "https") {
Expand Down
2 changes: 2 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ describe('hsl ui', function() {
testRedirect('next-dev.digitransit.fi','/kissa','https://next-dev.digitransit.fi/kissa');
testProxying('next-dev.digitransit.fi','/','digitransit-ui-hsl-next:8080', true);
testCaching('next-dev.digitransit.fi','/sw.js', true);
testProxying('uusi.reittiopas.fi','/','digitransit-ui-hsl-next:8080', true);
testProxying('uusi.reittiopas.hsl.fi','/','digitransit-ui-hsl-next:8080', true);

testRedirect('vyohykereittiopas.hsl.fi','/kissa','https://reittiopas.hsl.fi/kissa');
});
Expand Down

0 comments on commit c689e88

Please sign in to comment.