-
Notifications
You must be signed in to change notification settings - Fork 7.7k
GoAgent Config fileRn
-
Ordinary users can use the Web UI to configure, without manually modifying the configuration file.
-
For versions starting from 3.10.5, the configuration file is in json format. The file is in
data/gae_proxy/config.json
-
It is recommended to use an editor that supports code highlighting, such as Notepad2 or Notepad++.
-
The default value of the items inside, please refer to:
code/default/gae_proxy/local/config.py
as well as
code/default/python27/1.0/lib/noarch/front_base/config.py
-
In json format, you can search by yourself. Note that there is no comma after the last item, and Chinese punctuation marks cannot be used. You can use a website or tool that checks json to check the validity, such as https://jsonlint.com/
- Custom appid password
{
"GAE_APPIDS" : ["xx-net-1", "xx-net-2"],
"GAE_PASSWORD": "xxxx"
}
- Customize listening ip and port
{
"listen_ip": "0.0.0.0",
"listen_port": 8088
}
- Modify the maximum number of ip
{
"max_good_ip_num": 1000
}
- www.google.com avoids captcha
{
"hosts_direct": [
"scholar.google.com",
"www.google.com"
]
}
The json format requires a curly brace, if there is already one, just add another line inside. Note that the first line needs to be followed by a comma, and the last line does not need a comma.
Supplement: Proxy service for other devices