Skip to content

Commit

Permalink
Merge pull request #258 from HSLdevcom/remove-old-liipi
Browse files Browse the repository at this point in the history
Remove old liipi endpoints
  • Loading branch information
optionsome authored Sep 19, 2024
2 parents 609dd3a + 12331c0 commit 1a1849e
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions external.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,6 @@ location /out/data.foli.fi/ {
proxy_cache_use_stale error timeout http_500 http_502 http_503 http_504;
}

#hsl park api https://p.hsl.fi/api/v1/facilities.json?limit=-1
location /out/p.hsl.fi/ {
proxy_pass https://p.hsl.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;
}

#hsl test park api https://test.liipi.hsldev.com/api/v1/facilities.json?limit=-1
#location /out/test.liipi.hsldev.com/ {
# proxy_pass https://test.liipi.hsldev.com/;
# 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;
#}

#oulu realtime api (http://92.62.36.215/RTIX/trip-update)
location /out/92.62.36.215/ {
proxy_pass http://92.62.36.215/;
Expand Down

0 comments on commit 1a1849e

Please sign in to comment.