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.
 
 
 

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