Skip to content

Commit

Permalink
Merge pull request #125 from HSLdevcom/add-vilkku-bikes
Browse files Browse the repository at this point in the history
Add vilkku bikes
  • Loading branch information
TarmoA authored Apr 9, 2020
2 parents 34a41e1 + da43618 commit a6d44c5
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions external.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,6 @@ location /out/92.62.36.215/ {
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
}

# Old Livi GTFS-RT for easier migration
location /out/beta.vayla.fi/ {
proxy_pass https://beta.vayla.fi/;
include allowed-ips.conf;
proxy_cache ext_cache;
proxy_cache_valid 200 30s;
proxy_cache_lock on;
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;
}

#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/;
Expand Down Expand Up @@ -255,3 +243,15 @@ location /out/poland.nextbike.net/ {
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;
}

#Vilkku (Kuopio) bike stations (https://kaupunkipyorat.kuopio.fi/tkhs-export-map.html?format=xml)
location /out/kaupunkipyorat.kuopio.fi/ {
proxy_pass https://kaupunkipyorat.kuopio.fi/;
include allowed-ips.conf;
proxy_cache ext_cache;
proxy_cache_valid 200 30s;
proxy_cache_lock on;
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;
}

0 comments on commit a6d44c5

Please sign in to comment.