Skip to content

Commit

Permalink
Merge pull request #187 from HSLdevcom/fix-donkey
Browse files Browse the repository at this point in the history
Fix ssl issue with donkey
  • Loading branch information
vesameskanen authored Mar 31, 2022
2 parents 46f706d + d9c057f commit c26f1f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions external.conf
Original file line number Diff line number Diff line change
Expand Up @@ -291,4 +291,5 @@ location /out/stables.donkey.bike/ {
add_header X-Proxy-Cache $upstream_cache_status;
proxy_ignore_headers X-Accel-Expires Expires Cache-Control Set-Cookie;
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
proxy_ssl_server_name on;
}
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,4 +277,5 @@ describe('ext-proxy', function() {
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/tyokalu.navici.com/joukkoliikenne/manual-gtfsrt/api/gtfsrt/alerts',false);
testCaching('api.digitransit.fi','/out/stables.donkey.bike/api/public/gbfs/2/donkey_lappeenranta/en/station_status.json',false);
});

0 comments on commit c26f1f2

Please sign in to comment.