configuration-templates – Diff between revs 10 and 21
?pathlinks?
Rev 10 | Rev 21 | |||
---|---|---|---|---|
1 | ########################################################################### |
1 | ########################################################################### |
|
2 | ## Copyright (C) Wizardry and Steamworks 2013 - License: GNU GPLv3 ## |
2 | ## Copyright (C) Wizardry and Steamworks 2013 - License: GNU GPLv3 ## |
|
3 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
3 | ## Please see: http://www.gnu.org/licenses/gpl.html for legal details, ## |
|
4 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
4 | ## rights of fair usage, the disclaimer and warranty conditions. ## |
|
5 | ########################################################################### |
5 | ########################################################################### |
|
6 | ## Squid3 - general privacy settings. ## |
6 | ## Squid3 - general privacy settings. ## |
|
7 | ########################################################################### |
7 | ########################################################################### |
|
8 | |
8 | |
|
9 | ### Ignore responses from different nameservers. |
9 | ### Ignore responses from different nameservers. |
|
10 | ignore_unknown_nameservers on |
10 | ignore_unknown_nameservers on |
|
11 | |
11 | |
|
12 | ### Turn off sending squid version information. |
12 | ### Turn off sending squid version information. |
|
13 | httpd_suppress_version_string on |
13 | httpd_suppress_version_string on |
|
14 | |
14 | |
|
15 | ### Remove via and x-forwarded-for |
15 | ### Remove via and x-forwarded-for |
|
16 | ## Do not disable via if it will be cleaned by upstream proxies under our |
16 | ## Do not disable via if it will be cleaned by upstream proxies under our |
|
17 | ## control. |
17 | ## control. |
|
18 | # via off |
18 | # via off |
|
19 | forwarded_for delete |
19 | forwarded_for delete |
|
20 | follow_x_forwarded_for deny all |
20 | follow_x_forwarded_for deny all |
|
21 | |
21 | |
|
22 | ### Replace accept encoding. |
22 | ### Replace accept encoding. |
|
23 | request_header_replace Accept */* |
23 | request_header_replace Accept */* |
|
24 | request_header_replace Accept-Encoding * |
24 | request_header_replace Accept-Encoding * |
|
25 | request_header_replace Accept-Charset utf-8 |
25 | request_header_replace Accept-Charset utf-8 |
|
- | 26 | ## Disabled: may break media. |
||
26 | request_header_replace Accept-Encoding gzip, deflate |
27 | #request_header_replace Accept-Encoding gzip, deflate |
|
27 | ### Very important: net neutrality and global equity tweak. . . |
28 | ### Very important: net neutrality and global equity tweak. . . |
|
28 | request_header_replace Accept-Language en-US |
29 | request_header_replace Accept-Language en-US |
|
29 | |
30 | |
|
30 | ### Replace User-Agent. |
31 | ### Replace User-Agent. |
|
31 | ### Take your pick! |
32 | ### Take your pick! |
|
32 | ## Firefox |
33 | ## Firefox |
|
33 | # request_header_replace User-Agent Mozilla/6.0 (Windows NT 6.2; WOW64; rv:16.0.1) Gecko/20121011 Firefox/16.0.1 |
34 | # request_header_replace User-Agent Mozilla/6.0 (Windows NT 6.2; WOW64; rv:16.0.1) Gecko/20121011 Firefox/16.0.1 |
|
34 | ## iPad |
35 | ## iPad |
|
35 | # request_header_replace User-Agent Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X; en-us) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3 |
36 | # request_header_replace User-Agent Mozilla/5.0 (iPad; CPU OS 5_1 like Mac OS X; en-us) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9B176 Safari/7534.48.3 |
|
36 | ## Windows XP2, IE7 |
37 | ## Windows XP2, IE7 |
|
37 | # request_header_replace User-Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1) |
38 | # request_header_replace User-Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1) |
|
38 | ## Blackberry |
39 | ## Blackberry |
|
39 | # request_header_replace User-Agent Mozilla/5.0 (BlackBerry; U; BlackBerry AAAA; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.1 Mobile Safari/534.11+ |
40 | # request_header_replace User-Agent Mozilla/5.0 (BlackBerry; U; BlackBerry AAAA; en-US) AppleWebKit/534.11+ (KHTML, like Gecko) Version/7.0.0.1 Mobile Safari/534.11+ |
|
40 | ## Chromium |
41 | ## Chromium |
|
41 | request_header_replace User-Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.52 Safari/537.36 |
42 | request_header_replace User-Agent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.52 Safari/537.36 |
|
42 | |
43 | |