Commit d2717ad 1 parent 7f867d6 commit d2717ad Copy full SHA for d2717ad
File tree 2 files changed +7
-7
lines changed
packages/configuration/src
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3
3
//! This module contains the configuration data structures for the
4
4
//! Torrust Tracker, which is a `BitTorrent` tracker server.
5
5
//!
6
- //! The current version for configuration is [`v1 `].
6
+ //! The current version for configuration is [`v2 `].
7
7
pub mod v2;
8
8
9
9
use std:: collections:: HashMap ;
Original file line number Diff line number Diff line change 39
39
//! Please refer to the documentation of each structure for more information
40
40
//! about each section.
41
41
//!
42
- //! - [`Core configuration`](crate::v1 ::Configuration)
43
- //! - [`HTTP API configuration`](crate::v1 ::tracker_api::HttpApi)
44
- //! - [`HTTP Tracker configuration`](crate::v1 ::http_tracker::HttpTracker)
45
- //! - [`UDP Tracker configuration`](crate::v1 ::udp_tracker::UdpTracker)
46
- //! - [`Health Check API configuration`](crate::v1 ::health_check_api::HealthCheckApi)
42
+ //! - [`Core configuration`](crate::v2 ::Configuration)
43
+ //! - [`HTTP API configuration`](crate::v2 ::tracker_api::HttpApi)
44
+ //! - [`HTTP Tracker configuration`](crate::v2 ::http_tracker::HttpTracker)
45
+ //! - [`UDP Tracker configuration`](crate::v2 ::udp_tracker::UdpTracker)
46
+ //! - [`Health Check API configuration`](crate::v2 ::health_check_api::HealthCheckApi)
47
47
//!
48
48
//! ## Port binding
49
49
//!
78
78
//!
79
79
//! Alternatively, you could setup a reverse proxy like Nginx or Apache to
80
80
//! handle the SSL/TLS part and forward the requests to the tracker. If you do
81
- //! that, you should set [`on_reverse_proxy`](crate::v1::core::Core ::on_reverse_proxy)
81
+ //! that, you should set [`on_reverse_proxy`](crate::v2::network::Network ::on_reverse_proxy)
82
82
//! to `true` in the configuration file. It's out of scope for this
83
83
//! documentation to explain in detail how to setup a reverse proxy, but the
84
84
//! configuration file should be something like this:
You can’t perform that action at this time.
0 commit comments