-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(proxy): fallback to a global proxy list (#1388)
- Loading branch information
Showing
3 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Proxy | ||
|
||
## Filename | ||
|
||
Proxy configuration can be set either per store in a file called `storename.proxies` or globally in `global.proxies` in the streetmerchant root directory. | ||
|
||
If both exist, the store specific file will take precedence. | ||
|
||
## Format | ||
|
||
The format is one proxy per line with the following structure: | ||
`protocol://[user:password@]ip[:port]` | ||
|
||
Supported protocols are `http` and `socks5`. | ||
|
||
Valid examples include: | ||
- `socks5://1.2.3.4:3180` | ||
- `socks5://abcd:[email protected]:5678` | ||
- `http://1.2.3.4:80` | ||
- `http://abcd:[email protected]:8080` |
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