http: add option for legacy PHP URLs

This commit is contained in:
Leo Balduf
2017-12-05 10:38:50 +01:00
parent 395e59aef3
commit 2f58e98832
2 changed files with 19 additions and 0 deletions

View File

@@ -36,6 +36,16 @@ chihaya:
# Disabling this should increase performance/decrease load.
enable_request_timing: false
# Whether to listen on /announce.php and /scrape.php in addition to their
# non-.php counterparts.
# This is an option for compatibility with (very) old clients or otherwise
# outdated systems.
# This might be useful to retracker.local users, for more information see
# http://rutracker.wiki/Оптимизация_обмена_битторрент_траффиком_в_локальных_сетях
# and
# http://rutracker.wiki/Retracker.local
enable_legacy_php_urls: false
# When enabled, the IP address used to connect to the tracker will not
# override the value clients advertise as their IP address.
allow_ip_spoofing: false