Clearer debug IP message
[oweals/peertube.git] / client / src / app / +admin / system / debug / debug.component.html
1 <div class="root">
2   <h4>IP</h4>
3
4   <p>PeerTube thinks your web browser public IP is <strong>{{ debug?.ip }}</strong>.</p>
5
6   <p>If this is not your correct public IP, please consider fixing it because:</p>
7   <ul>
8     <li>Views may not be counted correctly (reduced compared to what they should be)</li>
9     <li>Anti brute force system could be overzealous</li>
10     <li>P2P system could not work correctly</li>
11   </ul>
12
13   <p>To fix it:<p>
14   <ul>
15     <li>Check the <code>trust_proxy</code> configuration key</li>
16     <li>If you run PeerTube using Docker, check you run the <code>reverse-proxy</code> with <code>network_mode: "host"</code>
17       (see <a href="https://github.com/Chocobozzz/PeerTube/issues/1643#issuecomment-464789666">issue 1643</a>)</li>
18   </ul>
19 </div>