
It's not hard to be a Pagoda panelist.
Recently, a lot of crawlers old iron asked me how to hang the proxy IP pagoda panel, this thing is to make the server go proxy channel, especially suitable for the need for a large number of IP rotation business scenarios. We today hand in hand to teach, guaranteed to see the end of the operation on the hand.
Don't be afraid to install the environment
First login to Pagoda into the software store and findNginx 1.20+respond in singingPython Project Manager. If you already have a project running, remember to back up your configuration files in advance. Here's a pitfall to be aware of: don't install those fancy firewall plugins, it's easy to fuck with proxy settings.
Checking Nginx status command
systemctl status nginx
Reverse Proxy Configuration
Find the reverse proxy tab in your website settings and focus on these parameters:
| parameter name | filling method |
|---|---|
| Target URL | Fill in the API address of our ipipgo. |
| Send Domain Name | Suggest writing $host |
| Advanced Configuration | Add proxy_set_header X-API-Key "your key" |
Here's a tawdry operation: adjust the cache time to 10 seconds, you can switch IPs in real time. if you use a static residential IP boss, directly set to 0 seconds is more trouble-free.
Code Docking Be Careful
Using Python as an example, remember to bring authorization information in the request header. Don't miss this parameter when using ipipgo's socks5 proxy:
import requests
proxies = {
'http': 'socks5://user:pass@gateway.ipipgo.com:端口',
'https': 'socks5://user:pass@gateway.ipipgo.com:端口'
}
resp = requests.get('destination URL', proxies=proxies, timeout=15)
Note that the user is replaced by your own account, and the pass is filled with the dynamic key generated in the background. It is recommended to change the IP every 500 requests, so that it is not easy to be blocked by the target site.
Guidelines on demining of common problems
Q: What should I do if the proxy IP is not working all the time?
A: First look at the Nginx error log of Pagoda, the path is in /www/wwwlogs/. Eighty percent is a certificate problem, turn off the SSL authentication to try.
Q: How to measure the success of the agent or not?
A: curl -x http://代理IP:端口 http://ip.ipipgo.com This command looks directly at the exit IPs
Q: Which package is the best deal to choose?
A: crawler party with dynamic residential standard version on the line, more than 7 yuan 1G flow enough to make. If the enterprise business, directly on the TK line is more stable.
How to use ipipgo
There are a few things that their agents do save on:
- Client comes with IP speed test function, can automatically screen out slow nodes
- You can request a free test IP for the first 3 days of each month
- Enterprise users can specify country + carrier combinations
Recently releasedExclusive Static PackageQuite suitable for e-commerce account number, 35 dollars a IP with a whole month. Note that you have to report the type of business with customer service 3 days in advance, or you may trigger the wind control.
Lastly, remember to restart the service after setting up the proxy in the Pagoda, changing the configuration without restarting is equivalent to a waste of time. When you encounter strange problems, first check the port occupancy, eighty percent of the port conflict caused the trouble.

