mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 10:45:30 +00:00
aquatic_udp, aquatic_ws: bind to 0.0.0.0:3000 by default
This commit is contained in:
parent
c8105db053
commit
4216452fc9
3 changed files with 4 additions and 4 deletions
|
|
@ -88,7 +88,7 @@ socket_workers = 1
|
||||||
request_workers = 1
|
request_workers = 1
|
||||||
|
|
||||||
[network]
|
[network]
|
||||||
address = '127.0.0.1:3000'
|
address = '0.0.0.0:3000'
|
||||||
max_scrape_torrents = 255
|
max_scrape_torrents = 255
|
||||||
max_response_peers = 255
|
max_response_peers = 255
|
||||||
peer_announce_interval = 900
|
peer_announce_interval = 900
|
||||||
|
|
@ -142,7 +142,7 @@ Default configuration:
|
||||||
socket_workers = 1
|
socket_workers = 1
|
||||||
|
|
||||||
[network]
|
[network]
|
||||||
address = '127.0.0.1:3000'
|
address = '0.0.0.0:3000'
|
||||||
use_tls = false
|
use_tls = false
|
||||||
tls_pkcs12_path = ''
|
tls_pkcs12_path = ''
|
||||||
tls_pkcs12_password = ''
|
tls_pkcs12_password = ''
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@ impl Default for Config {
|
||||||
impl Default for NetworkConfig {
|
impl Default for NetworkConfig {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
address: SocketAddr::from(([127, 0, 0, 1], 3000)),
|
address: SocketAddr::from(([0, 0, 0, 0], 3000)),
|
||||||
max_scrape_torrents: 255,
|
max_scrape_torrents: 255,
|
||||||
max_response_peers: 255,
|
max_response_peers: 255,
|
||||||
peer_announce_interval: 60 * 15,
|
peer_announce_interval: 60 * 15,
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ impl Default for Config {
|
||||||
impl Default for NetworkConfig {
|
impl Default for NetworkConfig {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
address: SocketAddr::from(([127, 0, 0, 1], 3000)),
|
address: SocketAddr::from(([0, 0, 0, 0], 3000)),
|
||||||
use_tls: false,
|
use_tls: false,
|
||||||
tls_pkcs12_path: "".into(),
|
tls_pkcs12_path: "".into(),
|
||||||
tls_pkcs12_password: "".into(),
|
tls_pkcs12_password: "".into(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue