Mercurial > hg > nginx-site
comparison xml/en/docs/http/server_names.xml @ 2042:30e2bd353998
Added info about Punycode to "Server Names".
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 25 Sep 2017 16:13:37 +0300 |
parents | 95c3c3bbf1ce |
children | c56adb7148a4 |
comparison
equal
deleted
inserted
replaced
2041:29b68a7b42fc | 2042:30e2bd353998 |
---|---|
6 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> | 6 <!DOCTYPE article SYSTEM "../../../../dtd/article.dtd"> |
7 | 7 |
8 <article name="Server names" | 8 <article name="Server names" |
9 link="/en/docs/http/server_names.html" | 9 link="/en/docs/http/server_names.html" |
10 lang="en" | 10 lang="en" |
11 rev="2" | 11 rev="3" |
12 author="Igor Sysoev" | 12 author="Igor Sysoev" |
13 editor="Brian Mercer"> | 13 editor="Brian Mercer"> |
14 | 14 |
15 | 15 |
16 <section> | 16 <section> |
316 | 316 |
317 | 317 |
318 </section> | 318 </section> |
319 | 319 |
320 | 320 |
321 <section id="idn" | |
322 name="Internationalized names"> | |
323 <para> | |
324 Internationalized domain names | |
325 (<link url="https://en.wikipedia.org/wiki/Internationalized_domain_name">IDNs</link>) | |
326 should be specified using an ASCII (Punycode) representation | |
327 in the <link doc="ngx_http_core_module.xml" id="server_name"/> directive: | |
328 <programlisting> | |
329 server { | |
330 listen 80; | |
331 server_name xn--e1afmkfd.xn--80akhbyknj4f; # пример.испытание | |
332 ... | |
333 } | |
334 </programlisting> | |
335 </para> | |
336 | |
337 </section> | |
338 | |
339 | |
321 <section id="optimization" | 340 <section id="optimization" |
322 name="Optimization"> | 341 name="Optimization"> |
323 | 342 |
324 <para> | 343 <para> |
325 Exact names, wildcard names starting with an asterisk, | 344 Exact names, wildcard names starting with an asterisk, |