index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
index.md (1746B) | |
--- | |
1 Proxy Config | |
2 ============ | |
3 | |
4 Description | |
5 ----------- | |
6 | |
7 This patch allows you to specify proxy settings in your `config.h` file. | |
8 | |
9 It supports the three proxy modes in Webkit: | |
10 | |
11 * CustomProxy: specify a custom proxy URL and list of hosts to ignore. | |
12 * SystemProxy: use your desktop environment proxy settings or `http_prox… | |
13 * NoProxy: ensures that a proxy is never used. | |
14 | |
15 Usage | |
16 ----- | |
17 | |
18 Once the patch is applied, modify the ProxyMode, ProxyUrl and ProxyIgnor… | |
19 | |
20 [ProxyIgnoreHosts] = { { .v = (char *[]){ "localhost","loca… | |
21 [ProxyMode] = { { .i = CustomProxy }, }, | |
22 [ProxyUrl] = { { .v = (char *) "http://proxy.local.… | |
23 | |
24 The default value is SystemProxy, which preserves the default behavior o… | |
25 | |
26 Note that the SystemProxy mode will not respect your ProxyIgnoreHosts li… | |
27 | |
28 FreeBSD Ports | |
29 ------------- | |
30 | |
31 To apply this patch to the `www/surf` port on FreeBSD, create the `files… | |
32 | |
33 Download | |
34 -------- | |
35 | |
36 * [surf-proxyconfig-20240905-9ef79b.diff](surf-proxyconfig-20240905-9ef7… | |
37 | |
38 Reference | |
39 --------- | |
40 | |
41 * [Webkit Network Proxy Settings Reference](https://webkitgtk.org/refere… | |
42 |