Skip to content

Commit 1b43b2e

Browse files
committed
chore: Added old beta.vayla.fi proxy for easier migration
1 parent 84515ff commit 1b43b2e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

external.conf

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,18 @@ location /out/92.62.36.215/ {
4646
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
4747
}
4848

49+
# Old Livi GTFS-RT for easier migration
50+
location /out/beta.vayla.fi/ {
51+
proxy_pass https://beta.vayla.fi/;
52+
include allowed-ips.conf;
53+
proxy_cache ext_cache;
54+
proxy_cache_valid 200 30s;
55+
proxy_cache_lock on;
56+
add_header X-Proxy-Cache $upstream_cache_status;
57+
proxy_ignore_headers X-Accel-Expires Expires Cache-Control Set-Cookie;
58+
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
59+
}
60+
4961
#new livi gtfs rt (https://tyokalu.navici.com/joukkoliikenne/manual-gtfsrt/api/gtfsrt/alerts)
5062
location /out/tyokalu.navici.com/ {
5163
proxy_pass https://tyokalu.navici.com/;

0 commit comments

Comments
 (0)