diff 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
line wrap: on
line diff
--- a/xml/en/docs/http/server_names.xml	Fri Sep 22 16:44:05 2017 +0300
+++ b/xml/en/docs/http/server_names.xml	Mon Sep 25 16:13:37 2017 +0300
@@ -8,7 +8,7 @@
 <article name="Server names"
          link="/en/docs/http/server_names.html"
          lang="en"
-         rev="2"
+         rev="3"
          author="Igor Sysoev"
          editor="Brian Mercer">
 
@@ -318,6 +318,25 @@
 </section>
 
 
+<section id="idn"
+        name="Internationalized names">
+<para>
+Internationalized domain names
+(<link url="https://en.wikipedia.org/wiki/Internationalized_domain_name">IDNs</link>)
+should be specified using an ASCII (Punycode) representation
+in the <link doc="ngx_http_core_module.xml" id="server_name"/> directive:
+<programlisting>
+server {
+    listen       80;
+    server_name  xn--e1afmkfd.xn--80akhbyknj4f;  # пример.испытание
+    ...
+}
+</programlisting>
+</para>
+
+</section>
+
+
 <section id="optimization"
         name="Optimization">