Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

301 lines
11 KiB

  1. # SOME DESCRIPTIVE TITLE.
  2. # Copyright (C) 2018-2024, Slavi Pantaleev, Aine Etke, MDAD community
  3. # members
  4. # This file is distributed under the same license as the
  5. # matrix-docker-ansible-deploy package.
  6. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  7. #
  8. #, fuzzy
  9. msgid ""
  10. msgstr ""
  11. "Project-Id-Version: matrix-docker-ansible-deploy \n"
  12. "Report-Msgid-Bugs-To: \n"
  13. "POT-Creation-Date: 2024-12-16 12:05+0900\n"
  14. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  15. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  16. "Language: jp\n"
  17. "Language-Team: jp <LL@li.org>\n"
  18. "MIME-Version: 1.0\n"
  19. "Content-Type: text/plain; charset=utf-8\n"
  20. "Content-Transfer-Encoding: 8bit\n"
  21. "Generated-By: Babel 2.16.0\n"
  22. #: ../../../docs/howto-server-delegation.md:1
  23. msgid "Server Delegation"
  24. msgstr ""
  25. #: ../../../docs/howto-server-delegation.md:3
  26. msgid ""
  27. "By default, this playbook sets up services on your Matrix server "
  28. "(`matrix.example.com`). To have this server officially be responsible for"
  29. " Matrix services for the base domain (`example.com`), you need to set up "
  30. "server delegation / redirection."
  31. msgstr ""
  32. #: ../../../docs/howto-server-delegation.md:5
  33. msgid "Server delegation can be configured in either of these ways:"
  34. msgstr ""
  35. #: ../../../docs/howto-server-delegation.md:7
  36. msgid ""
  37. "[Setting up a `/.well-known/matrix/server` file](#server-delegation-via-a"
  38. "-well-known-file) on the base domain (`example.com`)"
  39. msgstr ""
  40. #: ../../../docs/howto-server-delegation.md:8
  41. msgid ""
  42. "[Setting up a `_matrix._tcp` DNS SRV record](#server-delegation-via-a"
  43. "-dns-srv-record-advanced)"
  44. msgstr ""
  45. #: ../../../docs/howto-server-delegation.md:10
  46. msgid ""
  47. "Both methods have their place and will continue to do so. You only need "
  48. "to use just one of these delegation methods."
  49. msgstr ""
  50. #: ../../../docs/howto-server-delegation.md:12
  51. msgid ""
  52. "For simplicity reasons, this playbook recommends you to set up server "
  53. "delegation via a `/.well-known/matrix/server` file. However, that method "
  54. "may have some downsides that are not to your liking. Hence this guide "
  55. "about alternative ways to set up Server Delegation."
  56. msgstr ""
  57. #: ../../../docs/howto-server-delegation.md:14
  58. msgid ""
  59. "**Note**: as an alternative, it is possible to install the server such "
  60. "that it uses only the `matrix.example.com` domain (instead of identifying"
  61. " as the shorter base domain - `example.com`). This should be helpful if "
  62. "you are not in control of anything on the base domain (`example.com`). In"
  63. " this case, you would not need to configure server delegation, but you "
  64. "would need to add other configuration. For more information, see [How do "
  65. "I install on matrix.example.com without involving the base "
  66. "domain?](faq.md#how-do-i-install-on-matrix-example-com-without-involving-"
  67. "the-base-domain) on our FAQ."
  68. msgstr ""
  69. #: ../../../docs/howto-server-delegation.md:16
  70. msgid "Server Delegation via a well-known file"
  71. msgstr ""
  72. #: ../../../docs/howto-server-delegation.md:18
  73. msgid ""
  74. "This playbook recommends you to set up server delegation by means of a "
  75. "`/.well-known/matrix/server` file served from the base domain "
  76. "(`example.com`), as this is the most straightforward way to set up the "
  77. "delegation."
  78. msgstr ""
  79. #: ../../../docs/howto-server-delegation.md:20
  80. msgid ""
  81. "To configure server delegation with the well-known file, check this "
  82. "section on [Configuring Service Discovery via .well-known](configuring-"
  83. "well-known.md): [Installing well-known files on the base domain's server"
  84. "](configuring-well-known.md#installing-well-known-files-on-the-base-"
  85. "domain-s-server)"
  86. msgstr ""
  87. #: ../../../docs/howto-server-delegation.md:22
  88. msgid "Downsides of well-known-based Server Delegation"
  89. msgstr ""
  90. #: ../../../docs/howto-server-delegation.md:24
  91. msgid ""
  92. "Server Delegation by means of a `/.well-known/matrix/server` file is the "
  93. "most straightforward, but suffers from the following downsides:"
  94. msgstr ""
  95. #: ../../../docs/howto-server-delegation.md:26
  96. msgid ""
  97. "you need to have a working HTTPS server for the base domain "
  98. "(`example.com`). If you don't have any server for the base domain at all,"
  99. " you can easily solve it by making the playbook [serve the base domain "
  100. "from the Matrix server](configuring-playbook-base-domain-serving.md)."
  101. msgstr ""
  102. #: ../../../docs/howto-server-delegation.md:28
  103. msgid ""
  104. "any downtime on the base domain (`example.com`) or network trouble "
  105. "between the Matrix subdomain (`matrix.example.com`) and the base "
  106. "`example.com` may cause Matrix Federation outages. As the [Server-Server "
  107. "spec says](https://matrix.org/docs/spec/server_server/r0.1.0.html#server-"
  108. "discovery):"
  109. msgstr ""
  110. #: ../../../docs/howto-server-delegation.md:30
  111. msgid ""
  112. "Errors are recommended to be cached for up to an hour, and servers are "
  113. "encouraged to exponentially back off for repeated failures."
  114. msgstr ""
  115. #: ../../../docs/howto-server-delegation.md:32
  116. msgid ""
  117. "**For most people, this is a reasonable tradeoff** given that it's easy "
  118. "and straightforward to set up. We recommend you stay on this path."
  119. msgstr ""
  120. #: ../../../docs/howto-server-delegation.md:34
  121. msgid ""
  122. "Otherwise, you can decide to go against the default for this playbook, "
  123. "and instead set up [Server Delegation via a DNS SRV record (advanced"
  124. ")](#server-delegation-via-a-dns-srv-record-advanced) (much more "
  125. "complicated)."
  126. msgstr ""
  127. #: ../../../docs/howto-server-delegation.md:36
  128. msgid "Server Delegation via a DNS SRV record (advanced)"
  129. msgstr ""
  130. #: ../../../docs/howto-server-delegation.md:38
  131. msgid ""
  132. "**Note**: doing Server Delegation via a DNS SRV record is a more "
  133. "**advanced** way to do it and is not the default for this playbook. This "
  134. "is usually **much more complicated** to set up, so **we don't recommend "
  135. "it**. If you're not an experienced sysadmin, you'd better stay away from "
  136. "this."
  137. msgstr ""
  138. #: ../../../docs/howto-server-delegation.md:40
  139. msgid ""
  140. "As per the [Server-Server "
  141. "spec](https://matrix.org/docs/spec/server_server/r0.1.0.html#server-"
  142. "discovery), it's possible to do Server Delegation using only a SRV record"
  143. " (without a `/.well-known/matrix/server` file)."
  144. msgstr ""
  145. #: ../../../docs/howto-server-delegation.md:42
  146. msgid ""
  147. "This prevents you from suffering the [Downsides of well-known-based "
  148. "Server Delegation](#downsides-of-well-known-based-server-delegation)."
  149. msgstr ""
  150. #: ../../../docs/howto-server-delegation.md:44
  151. msgid "To use DNS SRV record validation, you need to:"
  152. msgstr ""
  153. #: ../../../docs/howto-server-delegation.md:46
  154. msgid ""
  155. "ensure that `/.well-known/matrix/server` is **not served** from the base "
  156. "domain, as that would interfere with DNS SRV record Server Delegation. To"
  157. " make the playbook **not** generate and serve the file, use the following"
  158. " configuration: `matrix_static_files_file_matrix_server_enabled: false`."
  159. msgstr ""
  160. #: ../../../docs/howto-server-delegation.md:48
  161. msgid ""
  162. "ensure that you have a `_matrix._tcp` DNS SRV record for your base domain"
  163. " (`example.com`) with a value of `10 0 8448 matrix.example.com`"
  164. msgstr ""
  165. #: ../../../docs/howto-server-delegation.md:50
  166. msgid ""
  167. "ensure that you are serving the Matrix Federation API (tcp/8448) with a "
  168. "certificate for `example.com` (not `matrix.example.com`!). Getting this "
  169. "certificate to the `matrix.example.com` server may be complicated. The "
  170. "playbook's automatic SSL obtaining/renewal flow will likely not work and "
  171. "you'll need to copy certificates around manually. See below."
  172. msgstr ""
  173. #: ../../../docs/howto-server-delegation.md:52
  174. msgid ""
  175. "For more details on how to configure the playbook to work with SRV "
  176. "delegation, take a look at this documentation: [Server Delegation via a "
  177. "DNS SRV record (advanced)](howto-srv-server-delegation.md)"
  178. msgstr ""
  179. #: ../../../docs/howto-server-delegation.md:54
  180. msgid "Obtaining certificates"
  181. msgstr ""
  182. #: ../../../docs/howto-server-delegation.md:56
  183. msgid ""
  184. "How you can obtain a valid certificate for `example.com` on the "
  185. "`matrix.example.com` server is up to you."
  186. msgstr ""
  187. #: ../../../docs/howto-server-delegation.md:58
  188. msgid ""
  189. "If `example.com` and `matrix.example.com` are hosted on the same machine,"
  190. " you can let the playbook obtain the certificate for you, by following "
  191. "our [Obtaining SSL certificates for additional domains](configuring-"
  192. "playbook-ssl-certificates.md#obtaining-ssl-certificates-for-additional-"
  193. "domains) guide."
  194. msgstr ""
  195. #: ../../../docs/howto-server-delegation.md:60
  196. msgid ""
  197. "If `example.com` and `matrix.example.com` are not hosted on the same "
  198. "machine, you can copy over the certificate files manually. Don't forget "
  199. "that they may get renewed once in a while, so you may also have to "
  200. "transfer them periodically. How often you do that is up to you, as long "
  201. "as the certificate files don't expire."
  202. msgstr ""
  203. #: ../../../docs/howto-server-delegation.md:62
  204. msgid "Serving the Federation API with your certificates"
  205. msgstr ""
  206. #: ../../../docs/howto-server-delegation.md:64
  207. msgid ""
  208. "Regardless of which method for obtaining certificates you've used, once "
  209. "you've managed to get certificates for your base domain onto the "
  210. "`matrix.example.com` machine you can put them to use."
  211. msgstr ""
  212. #: ../../../docs/howto-server-delegation.md:66
  213. msgid "Based on your setup, you have different ways to go about it:"
  214. msgstr ""
  215. #: ../../../docs/howto-server-delegation.md:68
  216. msgid ""
  217. "Serving the Federation API with your certificates and Synapse handling "
  218. "Federation"
  219. msgstr ""
  220. #: ../../../docs/howto-server-delegation.md:70
  221. msgid "You can let Synapse handle Federation by itself."
  222. msgstr ""
  223. #: ../../../docs/howto-server-delegation.md:72
  224. msgid ""
  225. "To do that, make sure the certificate files are mounted into the Synapse "
  226. "container:"
  227. msgstr ""
  228. #: ../../../docs/howto-server-delegation.md:79
  229. msgid ""
  230. "You can then tell Synapse to serve Federation traffic over TLS on "
  231. "`tcp/8448`:"
  232. msgstr ""
  233. #: ../../../docs/howto-server-delegation.md:87
  234. msgid ""
  235. "Make sure to reload Synapse once in a while (`systemctl reload matrix-"
  236. "synapse`), so that newer certificates can kick in. Reloading doesn't "
  237. "cause any downtime."
  238. msgstr ""
  239. #: ../../../docs/howto-server-delegation.md:89
  240. msgid "Serving the Federation API with your certificates and another webserver"
  241. msgstr ""
  242. #: ../../../docs/howto-server-delegation.md:91
  243. msgid ""
  244. "**Alternatively**, if you are using another webserver, you can set up "
  245. "reverse-proxying for the `tcp/8448` port by yourself. Make sure to use "
  246. "the proper certificates for `example.com` (not for `matrix.example.com`) "
  247. "when serving the `tcp/8448` port."
  248. msgstr ""
  249. #: ../../../docs/howto-server-delegation.md:93
  250. msgid ""
  251. "As recommended in our [Fronting the integrated reverse-proxy webserver "
  252. "with another reverse-proxy](./configuring-playbook-own-webserver.md"
  253. "#fronting-the-integrated-reverse-proxy-webserver-with-another-reverse-"
  254. "proxy) documentation section, we recommend you to expose the Matrix "
  255. "Federation entrypoint from traffic at a local port (e.g. "
  256. "`127.0.0.1:8449`), so your reverese-proxy should send traffic there."
  257. msgstr ""