aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+admin/system/debug/debug.component.html
blob: 2dc509383120adb1dd1578e05548c10690c00500 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                  
                          
 
                                                                                             
 
                                                                                       
      


                                                                                              

       
                       
      

                                                                                                                                  


                                                                                                                   
<div class="root">
  <h4 i18n>IP address</h4>

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

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

  <p i18n>To fix it:<p>
  <ul>
    <li i18n>Check the <code>trust_proxy</code> configuration key</li>
    <li i18n>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>