summaryrefslogtreecommitdiff
path: root/examples/travelynx.conf
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2025-02-09 18:51:22 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2025-02-09 18:51:22 +0100
commit838a186ab26d945d74f7f2bdc07edee2b62ee209 (patch)
treebf4a9149aca959df2596828c3f64a632b9486afe /examples/travelynx.conf
parent99cb6a7e22b3ee2de4551355ed24efb1a0b5b01a (diff)
Add PKP (and, thus, SOCKS proxy) support
Diffstat (limited to 'examples/travelynx.conf')
-rw-r--r--examples/travelynx.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/travelynx.conf b/examples/travelynx.conf
index f8eaac0..c7c4f89 100644
--- a/examples/travelynx.conf
+++ b/examples/travelynx.conf
@@ -35,6 +35,17 @@
password => die("Changeme!"),
},
+ # Settings specific to HAFAS backends.
+ # For instance, the PKP backend is hidden behind a GeoIP filter, hence
+ # travelynx only supports it if travelynx.conf either indicates that it
+ # is reachable or specifies a proxy.
+ hafas => {
+ PKP => {
+ # geoip_ok => 1, # <- EITHER THIS
+ # proxy => 'socks://...', # <- OR THIS
+ },
+ },
+
# These settings control the amount and (re)spawn behaviour of travelynx
# worker processes as well as IP, port, and PID file. They are suitable for
# up to a few dozen concurrent users. If your site has more traffic, you