Created
April 30, 2016 07:40
-
-
Save aldoKelvianto/18121a9a644e2560ea168a788bb7463c to your computer and use it in GitHub Desktop.
Proxy Configuration for Git, Heroku, Grails, NPM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grails add-proxy client --host=proxy-server --port=4300 | |
--username=guest --password=guest | |
grails set-proxy client | |
untuk melihat settingan proxy yang sudah ada: | |
git config --global --get http.proxy | |
git config --global --get https.proxy | |
untuk nge-set settingan proxy: | |
git config --global http.proxy http://aldo11%40mhs.is.its.ac.id:passsword@proxy.its.ac.id:8080 | |
git config --global https.proxy https://aldo11%40mhs.is.its.ac.id:password@proxy.its.ac.id:8080 | |
untuk un-set settingan proxy: | |
git config --global --unset http.proxy | |
git config --global --unset https.proxy | |
untuk heroku: | |
export HTTP_PROXY=http://proxy.server.com:portnumber | |
export HTTPS_PROXY=https://proxy.server.com:portnumber | |
untuk remove keywordnya unset HTTP_PROXY dst. | |
heroku login | |
npm: | |
npm config set strict-ssl false | |
npm config set registry "http://registry.npmjs.org/" | |
npm config set http-proxy http://aldo11%40mhs.is.its.ac.id:password@proxy.its.ac.id:8080 | |
npm config set https-proxy https://aldo11%40mhs.is.its.ac.id:password@proxy.its.ac.id:8080 | |
npm config list | |
unset: | |
npm config rm proxy | |
npm config rm http-proxy | |
npm config rm https-proxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment