Project

General

Profile

« Previous | Next » 

Revision cec3e584

Added by David Sorber almost 2 years ago

Correcting config so ttyd will work.

View differences:

configs/phalanx/apache/main.conf
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
ProxyPass http://192.168.8.6:9565/transmission
ProxyPassReverse http://192.168.8.6:9565/transmission
ProxyPass http://127.0.0.1:9565/transmission
ProxyPassReverse http://127.0.0.1:9565/transmission
</Location>
# --- ttyd -----------------------------------------------------
......
RewriteEngine on
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteCond %{HTTP:Connection} upgrade [NC]
RewriteRule /terminal/?(.*) "ws://localhost:9772/$1" [P,L]
# ProxyPass /terminal http://localhost:9772/
# ProxyPassReverse /terminal http://localhost:9772/
ProxyPass http://localhost:9772/
ProxyPassReverse http://localhost:9772/
RewriteRule /terminal/?(.*) "ws://127.0.0.1:9772/$1" [P,L]
ProxyPass http://127.0.0.1:9772/
ProxyPassReverse http://127.0.0.1:9772/
ProxyPass ws://127.0.0.1:9772/
ProxyPassReverse ws://127.0.0.1:9772/
</Location>
</VirtualHost>
configs/phalanx/settings.json
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": true,
"blocklist-url": "http://list.iblocklist.com/?list=bt_level1&fileformat=p2p&archiveformat=gz",
"blocklist-url": "https://github.com/Naunter/BT_BlockLists/raw/master/bt_blocklists.gz",
"cache-size-mb": 4,
"dht-enabled": true,
"download-dir": "/var/lib/transmission-daemon/downloads",
......
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/debian-transmission/Downloads",
"incomplete-dir-enabled": false,
"lpd-enabled": false,
"lpd-enabled": true,
"max-peers-global": 200,
"message-level": 1,
"peer-congestion-algorithm": "",
......
"ratio-limit-enabled": false,
"rename-partial-files": true,
"rpc-authentication-required": false,
"rpc-bind-address": "0.0.0.0",
"rpc-bind-address": "127.0.0.1",
"rpc-enabled": true,
"rpc-host-whitelist": "",
"rpc-host-whitelist-enabled": true,
......
"rpc-port": 9565,
"rpc-url": "/transmission/",
"rpc-username": "dsorber",
"rpc-whitelist": "192.168.8.*",
"rpc-whitelist": "127.0.0.1",
"rpc-whitelist-enabled": true,
"scrape-paused-torrents-enabled": true,
"script-torrent-done-enabled": false,
......
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 1024,
"speed-limit-up": 10240,
"speed-limit-up-enabled": true,
"start-added-torrents": true,
"trash-original-torrent-files": false,

Also available in: Unified diff