Mercurial > hg > nginx-site
annotate xml/en/docs/welcome_nginx_facebook.xml @ 504:695f83494c19
Emphasized on what the "updating" parameter of the "proxy_cache_use_stale"
directive achieves. Referenced the "proxy_cache_lock" directive from there,
which has similar effect when populating a new cache element.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Tue, 24 Apr 2012 06:54:47 +0000 |
parents | 5bb373c6e502 |
children | 1f14f98a487e |
rev | line source |
---|---|
50 | 1 <!DOCTYPE article SYSTEM "../../../dtd/article.dtd"> |
13 | 2 |
123
7db449e89e92
Unified the use of the "name" attribute instead of "title".
Ruslan Ermilov <ru@nginx.com>
parents:
50
diff
changeset
|
3 <article name="I am trying to open Facebook and |
327 | 4 instead I am getting “Welcome to nginx!” page" |
13 | 5 link="/en/docs/welcome_nginx_facebook.html" |
6 lang="en"> | |
7 | |
8 | |
9 <section> | |
10 | |
17
1fc034261cf4
Refactoring r16: "initial" should be property of text but not of paragraph.
Igor Sysoev <igor@sysoev.ru>
parents:
16
diff
changeset
|
11 <para> |
1fc034261cf4
Refactoring r16: "initial" should be property of text but not of paragraph.
Igor Sysoev <igor@sysoev.ru>
parents:
16
diff
changeset
|
12 <initial>Q:</initial> |
16 | 13 I am trying to open Facebook, Yahoo!, Google, or some |
327 | 14 other well-known web site and instead I am getting a blank web page |
15 with a message referring to nginx: “Welcome to nginx!” or | |
16 “404 Not Found / nginx”. | |
13 | 17 </para> |
18 | |
19 <para> | |
20 I suspect something is wrong and there is probably a malicious attempt here | |
471
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
21 to direct me to a rogue web page (to break into my computer, do phishing etc.). |
327 | 22 Why is that and what has nginx to do with my attempts to connect |
13 | 23 to Facebook (Yahoo!, Google, etc.) ? |
24 </para> | |
25 | |
26 <para> | |
27 | |
28 </para> | |
29 | |
17
1fc034261cf4
Refactoring r16: "initial" should be property of text but not of paragraph.
Igor Sysoev <igor@sysoev.ru>
parents:
16
diff
changeset
|
30 <para> |
1fc034261cf4
Refactoring r16: "initial" should be property of text but not of paragraph.
Igor Sysoev <igor@sysoev.ru>
parents:
16
diff
changeset
|
31 <initial>A:</initial> |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
32 nginx is among the 3 most popular web servers in the world, it's being |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
33 used by over 10% of the Internet web sites, including 25% of the top-1000 ones. |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
34 It is a free open source server software, focused on high performance and |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
35 high concurrency, and it's absolutely legitimate and |
13 | 36 has nothing to do with any kind of threatening or malicious activity per se. |
327 | 37 A web page saying “Welcome to nginx!” is one of the diagnostics |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
38 responses that can be produced by any of the web sites running nginx. |
13 | 39 </para> |
40 | |
41 <para> | |
42 However, you are right in your assumption that something must be wrong | |
471
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
43 with your browser, operating system or even router setup when you are |
327 | 44 trying to access a well known web site and instead of a familiar page you get |
45 “Welcome to nginx!”. This should not happen if your computer | |
471
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
46 and network are clean and safe. |
327 | 47 </para> |
48 | |
49 <para> | |
50 We recommend you to check and verify your entire system setup | |
51 (possibly with the help of your ISP or another support personnel), | |
52 and it would also be a good idea to install and run an anti-virus software | |
13 | 53 on your computer. It may happen that some malign entity is trying |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
54 to divert the traffic from your computer to a wrong server and |
471
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
55 hijack the data, which may subsequently lead to a significant harm. |
13 | 56 </para> |
57 | |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
58 <para> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
59 What you should check is at least the following: |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
60 </para> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
61 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
62 <para> |
471
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
63 (Disclaimer: at nginx we are not responsible for any negative |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
64 impact or effects that the actions below might cause. Use the |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
65 following recommendations at your own risk, especially if |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
66 you aren't an experienced user of your operating system and/or |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
67 Internet applications. In no event shall nginx be liable for |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
68 any direct, indirect, incidental, special, exemplary, or |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
69 consequential damages, including, but not limited to loss of |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
70 use, data, or profits; or business interruption). |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
71 </para> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
72 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
73 <para> |
475
cfc69ee2f0a0
- compact=no for that list
Andrey Alexeev <andrew@nginx.com>
parents:
471
diff
changeset
|
74 <list type="bullet" compact="no"> |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
75 <listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
76 Check your TCP/IP settings and see if the DNS servers |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
77 configuration matches the one recommended by your Internet |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
78 service provider and/or your IT support personnel. |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
79 </listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
80 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
81 <listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
82 Check if the "hosts" file doesn't contain entries other |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
83 than "127.0.0.1 localhost", and if so — if these entries are for |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
84 the web site you're trying to reach and instead you're seeing a |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
85 wrong web site. The "hosts" files is located in |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
86 C:\WINDOWS\system32\drivers\etc directory. Typically there should |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
87 be just one entry in it, for "127.0.0.1 localhost", that's it. The |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
88 "hosts" file can be viewed with your standard Notepad application. |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
89 </listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
90 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
91 <listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
92 Try to (temporarily) use Google Public DNS and see if |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
93 it fixes the problem. From Google's description of its Public DNS - |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
94 "Google Public DNS is a free, global Domain Name System (DNS) |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
95 resolution service, |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
96 that you can use as an alternative to your current DNS provider. |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
97 To try it out: Configure your network settings to use the IP |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
98 addresses 8.8.8.8 and 8.8.4.4 as your DNS servers. [..] By |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
99 using Google Public DNS you can: Speed up your browsing |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
100 experience. Improve your security. Get the results you expect |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
101 with absolutely no redirection." |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
102 </listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
103 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
104 <listitem> |
489
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
105 If you change DNS settings, clear your DNS resolver cache. On |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
106 Microsoft Windows it is done with the following command: |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
107 Start > Run > ipconfig /flushdns |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
108 </listitem> |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
109 |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
110 <listitem> |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
111 Clear browser data (cache, cookies etc.), e.g. in Chrome |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
112 find and click "Clear Browsing Data" (Settings > Under the Hood). |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
113 Caution: you may be deleting saved passwords information here, |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
114 so do it carefully and check what exact actions you are performing. |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
115 </listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
116 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
117 <listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
118 Try to check the plugins/extensions you've installed |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
119 for use with your browser. It might make sense to re-install |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
120 your favorite browser and/or try a different one if possible. |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
121 </listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
122 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
123 <listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
124 If cleaning "hosts" file (when applicable), changing |
489
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
125 DNS servers to Google Public DNS, flushing DNS resolver cache, |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
126 or fixing your browser configuration have helped, it might be |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
127 that there's a malware somewhere on your PC or around. |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
128 It makes perfect sense then to run a number of checks using |
2abd1998a0cc
- Added a couple of things about flushing DNS resolver cache
Andrey Alexeev <andrew@nginx.com>
parents:
475
diff
changeset
|
129 your preferred anti-virus/anti-malware tools. |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
130 </listitem> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
131 </list> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
132 </para> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
133 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
134 <para> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
135 Links describing Google Public DNS: |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
136 </para> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
137 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
138 <para> |
493
5bb373c6e502
Opmitized links whose text equals the referenced URL.
Ruslan Ermilov <ru@nginx.com>
parents:
489
diff
changeset
|
139 <link url="http://code.google.com/speed/public-dns/"/> |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
140 </para> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
141 |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
142 <para> |
493
5bb373c6e502
Opmitized links whose text equals the referenced URL.
Ruslan Ermilov <ru@nginx.com>
parents:
489
diff
changeset
|
143 <link url="http://code.google.com/speed/public-dns/docs/using.html"/> |
456
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
144 </para> |
19933f0ca147
- Added basic recommendations
Andrey Alexeev <andrew@nginx.com>
parents:
327
diff
changeset
|
145 |
471
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
146 <para> |
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
147 Microsoft's Malicious Software Removal Tool: |
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
148 </para> |
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
149 |
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
150 <para> |
493
5bb373c6e502
Opmitized links whose text equals the referenced URL.
Ruslan Ermilov <ru@nginx.com>
parents:
489
diff
changeset
|
151 <link url="http://www.microsoft.com/security/pc-security/malware-removal.aspx"/> |
471
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
152 </para> |
43fd629102c4
- Added a few additional notes about what might be wrong
Andrey Alexeev <andrew@nginx.com>
parents:
461
diff
changeset
|
153 |
13 | 154 </section> |
155 | |
156 </article> |