diff --git a/external.conf b/external.conf index c5602ce..bdd3603 100644 --- a/external.conf +++ b/external.conf @@ -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/; @@ -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; +}