title: Specifying multiple trusted hosts in pip.conf
body: <p>This is what I tried setting in my <code>/etc/pip.conf</code>:</p>
  
  <pre><code>[global]
  trusted-host = pypi.org, files.pythonhosted.org
  </code></pre>
  
  <p>However, it is not working properly.</p>
  
  <p>References:</p>
  
  <ul>
  <li><p><a href="https://pip.pypa.io/en/stable/reference/pip_config" rel="noreferrer">https://pip.pypa.io/en/stable/reference/pip_config</a></p></li>
  <li><p><a href="https://pip.pypa.io/en/stable/reference/pip/#cmdoption-trusted-host" rel="noreferrer">https://pip.pypa.io/en/stable/reference/pip/#cmdoption-trusted-host</a></p></li>
  </ul>
  
  <p>See also: <a href="https://stackoverflow.com/q/45337029">pip.conf not paying attention to trusted-host</a></p>