浏览代码

Document that .onion subdomains are ignored by clients

addr-spec.txt also explains this, but we should get it into the
manpage too.

Closes ticket #18736.
Nick Mathewson 6 年之前
父节点
当前提交
b74a1c77a4
共有 2 个文件被更改,包括 8 次插入0 次删除
  1. 3 0
      changes/18736
  2. 5 0
      doc/tor.1.txt

+ 3 - 0
changes/18736

@@ -0,0 +1,3 @@
+  o Documentation:
+    - Document that onion service subdomains are allowed, and ignored.
+      Closes ticket 18736.

+ 5 - 0
doc/tor.1.txt

@@ -2989,6 +2989,11 @@ __HiddenServiceDirectory__**/hostname**::
     The <base32-encoded-fingerprint>.onion domain name for this hidden service.
     The <base32-encoded-fingerprint>.onion domain name for this hidden service.
     If the hidden service is restricted to authorized clients only, this file
     If the hidden service is restricted to authorized clients only, this file
     also contains authorization data for all clients.
     also contains authorization data for all clients.
+ +
+    Note that clients will ignore any extra subdomains prepended to a hidden
+    service hostname. So if you have "xyz.onion" as your hostname, you
+    can tell clients to connect to "www.xyz.onion" or "irc.xyz.onion"
+    for virtual-hosting purposes.
 
 
 __HiddenServiceDirectory__**/private_key**::
 __HiddenServiceDirectory__**/private_key**::
     The private key for this hidden service.
     The private key for this hidden service.