Welcome, Guest Login

Enterprise Support

Repo: Anaconda upload fails while behind a reverse proxy

Last Updated: Nov 28, 2017 04:30PM CST
Problem:

When configuring Anaconda Client to connect to an Anaconda Repository behind a reverse proxy, the anaconda upload command is connecting to the internal hostname rather than the external configured one.

Solution:

This can be resolved by changing the settings of the reverse proxy, such as Nginx or Apache:

  • In Nginx, add the setting proxy_set_header Host $host; to access the internal host with the external hostname.

  • In Apache, turn on the option "ProxyPreserveHost".

  • Similarly, other reverse proxies have their own settings to handle hostnames correctly.

  • support@continuum.io
    https://cdn.desk.com/
    false
    desk
    Loading
    seconds ago
    a minute ago
    minutes ago
    an hour ago
    hours ago
    a day ago
    days ago
    about
    false
    Invalid characters found
    /customer/en/portal/articles/autocomplete