nexus pip proxy config
config for linux
- touch config
touch ~/.pip/pip.conf
- content
[global]
index-url = http://<nexusip:port>/repository/aliyun-pip/simple
[install]
trusted-host=<nexusip>
or with command
pip2 && pip3
pip install docker-compose -i http://<nexusip:port>/repository/aliyun-pip/simple --trusted-host <nexusip>
pip3 install docker-compose -i http://<nexusip:port>/repository/aliyun-pip/simple --trusted-host <nexusip>
links
https://help.sonatype.com/repomanager3/formats/pypi-repositories