Last active
December 31, 2015 12:39
-
-
Save congjf/7987202 to your computer and use it in GitHub Desktop.
Auto switch proxy on Safari on OS X
This file contains hidden or 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
Auto switch proxy on Safari on OS X. |
This file contains hidden or 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
When we start the proxy server, goagent is already handle a PAC file service for us. | |
What we shuod do is just look the content on our console. It is may like: | |
------------------------------------------------------ | |
GoAgent Version : 3.1.2 (python/2.7.5 pyopenssl/0.13) | |
Listen Address : 127.0.0.1:8087 | |
GAE Mode : https | |
GAE Profile : ipv4 | |
GAE APPID : XXXXXXXXXXXX | |
Pac Server : http://127.0.0.1:8086/proxy.pac | |
Pac File : file:///xxxxxxxxxx/local/proxy.pac | |
------------------------------------------------------ | |
Look at the "Pac Server" field, it is the PAC file service on your server. | |
And add the url of "Pac Server" to your "System Preference" - "Network" - "Proxy". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment