aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+admin/system/debug/debug.component.html
blob: 75f3df601f538ed1a65128b31c54276e2e44af06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<div class="root">
  <h4>IP</h4>

  <p>PeerTube thinks your web browser public IP is <strong>{{ debug?.ip }}</strong>.</p>

  <p>If this is not your correct public IP, please consider fixing it because:</p>
  <ul>
    <li>Views may not be counted correctly (reduced compared to what they should be)</li>
    <li>Anti brute force system could be overzealous</li>
    <li>P2P system could not work correctly</li>
  </ul>

  <p>To fix it:<p>
  <ul>
    <li>Check the <code>trust_proxy</code> configuration key</li>
    <li>If you run PeerTube using Docker, check you run the <code>reverse-proxy</code> with <code>network_mode: "host"</code>
      (see <a href="https://github.com/Chocobozzz/PeerTube/issues/1643#issuecomment-464789666">issue 1643</a>)</li>
  </ul>
</div>