Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: puppet/modules/adblockplusorg/files/adblockplus.org

Issue 5084342984376320: Noissue - Update IE detection in development mode (Closed)
Patch Set: Created Feb. 13, 2015, 2:25 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 server { 1 server {
2 root /var/www/adblockplus.org/httpdocs; 2 root /var/www/adblockplus.org/httpdocs;
3 3
4 location / { 4 location / {
5 index index.php index index.html; 5 index index.php index index.html;
6 6
7 if ($arg_a = "view") { 7 if ($arg_a = "view") {
8 rewrite ^(.*) $1? permanent; 8 rewrite ^(.*) $1? permanent;
9 } 9 }
10 10
(...skipping 11 matching lines...) Expand all
22 } 22 }
23 if ($http_user_agent ~ \bSafari/\d+) { 23 if ($http_user_agent ~ \bSafari/\d+) {
24 set $user_agent "safari"; 24 set $user_agent "safari";
25 } 25 }
26 if ($http_user_agent ~ \bChrome/\d+) { 26 if ($http_user_agent ~ \bChrome/\d+) {
27 set $user_agent "chrome"; 27 set $user_agent "chrome";
28 } 28 }
29 if ($http_user_agent ~ \bMSIE\ \d+) { 29 if ($http_user_agent ~ \bMSIE\ \d+) {
30 set $user_agent "internet-explorer"; 30 set $user_agent "internet-explorer";
31 } 31 }
32 if ($http_user_agent ~ \bTrident/\d+) {
33 set $user_agent "internet-explorer";
34 }
35 if ($http_user_agent ~ \bEdge/\d+) {
36 set $user_agent "internet-explorer";
37 }
32 if ($http_user_agent ~ \bPresto/\d+) { 38 if ($http_user_agent ~ \bPresto/\d+) {
33 set $user_agent "opera"; 39 set $user_agent "opera";
34 } 40 }
35 if ($http_user_agent ~ \bOPR/\d+) { 41 if ($http_user_agent ~ \bOPR/\d+) {
36 set $user_agent "opera"; 42 set $user_agent "opera";
37 } 43 }
38 if ($http_user_agent ~ \bAndroid\s.*\bAppleWebKit/\d+) { 44 if ($http_user_agent ~ \bAndroid\s.*\bAppleWebKit/\d+) {
39 set $user_agent "android"; 45 set $user_agent "android";
40 } 46 }
41 if ($http_user_agent ~ \bYaBrowser/\d+) { 47 if ($http_user_agent ~ \bYaBrowser/\d+) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 fastcgi_param GATEWAY_INTERFACE CGI/1.1; 139 fastcgi_param GATEWAY_INTERFACE CGI/1.1;
134 fastcgi_param SERVER_SOFTWARE nginx/$nginx_version; 140 fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
135 141
136 fastcgi_param REMOTE_ADDR $remote_addr; 142 fastcgi_param REMOTE_ADDR $remote_addr;
137 fastcgi_param REMOTE_PORT $remote_port; 143 fastcgi_param REMOTE_PORT $remote_port;
138 fastcgi_param SERVER_ADDR $server_addr; 144 fastcgi_param SERVER_ADDR $server_addr;
139 fastcgi_param SERVER_PORT $server_port; 145 fastcgi_param SERVER_PORT $server_port;
140 fastcgi_param SERVER_NAME $server_name; 146 fastcgi_param SERVER_NAME $server_name;
141 } 147 }
142 } 148 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld