Skip to content

Commit

Permalink
Merge pull request #123 from HSLdevcom/matka.fi-gtfsrt-relocation
Browse files Browse the repository at this point in the history
chore: New location for Matka.fi GTFS-RT source
  • Loading branch information
vesameskanen authored Mar 4, 2020
2 parents a15fdc1 + 5b8ce65 commit 84515ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions external.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ location /out/92.62.36.215/ {
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
}

#new livi gtfs rt (https://beta.vayla.fi/joukkoliikenne/manual_gtfsrt/api/gtfsrt/alerts)
location /out/beta.vayla.fi/ {
proxy_pass https://beta.vayla.fi/;
#new livi gtfs rt (https://tyokalu.navici.com/joukkoliikenne/manual-gtfsrt/api/gtfsrt/alerts)
location /out/tyokalu.navici.com/ {
proxy_pass https://tyokalu.navici.com/;
include allowed-ips.conf;
proxy_cache ext_cache;
proxy_cache_valid 200 30s;
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,5 +256,5 @@ describe('ext-proxy', function() {
testCaching('api.digitransit.fi','/out/data.foli.fi/citybike/smoove',false);
testCaching('api.digitransit.fi','/out/p.hsl.fi/api/v1/facilities.json?limit=-1',false);
testCaching('api.digitransit.fi','/out/92.62.36.215/RTIX/trip-updates',false);
testCaching('api.digitransit.fi','/out/beta.vayla.fi/joukkoliikenne/manual_gtfsrt/api/gtfsrt/alerts',false);
testCaching('api.digitransit.fi','/out/tyokalu.navici.com/joukkoliikenne/manual-gtfsrt/api/gtfsrt/alerts',false);
});

0 comments on commit 84515ff

Please sign in to comment.