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.
 
 
 

394 lines
14 KiB

  1. # Translations template for PROJECT.
  2. # Copyright (C) 2024 ORGANIZATION
  3. # This file is distributed under the same license as the PROJECT project.
  4. # FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
  5. #
  6. #, fuzzy
  7. msgid ""
  8. msgstr ""
  9. "Project-Id-Version: PROJECT VERSION\n"
  10. "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
  11. "POT-Creation-Date: 2024-12-16 12:05+0900\n"
  12. "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
  13. "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
  14. "Language-Team: LANGUAGE <LL@li.org>\n"
  15. "MIME-Version: 1.0\n"
  16. "Content-Type: text/plain; charset=utf-8\n"
  17. "Content-Transfer-Encoding: 8bit\n"
  18. "Generated-By: Babel 2.16.0\n"
  19. #: ../../../docs/configuring-well-known.md:1
  20. msgid "Configuring Service Discovery via .well-known"
  21. msgstr ""
  22. #: ../../../docs/configuring-well-known.md:3
  23. msgid ""
  24. "This documentation page explains how to configure Service discovery via "
  25. "`/.well-known/` files. Service discovery is a way for the Matrix network "
  26. "to discover where a Matrix server is."
  27. msgstr ""
  28. #: ../../../docs/configuring-well-known.md:5
  29. msgid "Types of well-known service discovery mechanism"
  30. msgstr ""
  31. #: ../../../docs/configuring-well-known.md:7
  32. msgid ""
  33. "There are 3 types of well-known service discovery mechanism that Matrix "
  34. "makes use of:"
  35. msgstr ""
  36. #: ../../../docs/configuring-well-known.md:9
  37. msgid ""
  38. "(important) **Federation Server discovery** (`/.well-"
  39. "known/matrix/server`) -- assists other servers in the Matrix network with"
  40. " finding your server. With the default playbook configuration specified "
  41. "on the sample `vars.yml` ([`examples/vars.yml`](../examples/vars.yml)), "
  42. "this is necessary for federation to work. Without a proper configuration,"
  43. " your server will effectively not be part of the Matrix network."
  44. msgstr ""
  45. #: ../../../docs/configuring-well-known.md:11
  46. msgid ""
  47. "(less important) **Client Server discovery** (`/.well-"
  48. "known/matrix/client`) -- assists programs that you use to connect to your"
  49. " server (e.g. Element Web), so that they can make it more convenient for "
  50. "you by automatically configuring the \"Homeserver URL\" and \"Identity "
  51. "Server URL\" addresses."
  52. msgstr ""
  53. #: ../../../docs/configuring-well-known.md:13
  54. msgid ""
  55. "(optional) **Support service discovery** (`/.well-known/matrix/support`) "
  56. "-- returns server admin contact and support page of the domain."
  57. msgstr ""
  58. #: ../../../docs/configuring-well-known.md:15
  59. msgid "Federation Server Discovery"
  60. msgstr ""
  61. #: ../../../docs/configuring-well-known.md:17
  62. msgid ""
  63. "All services created by this playbook are meant to be installed on their "
  64. "own server (such as `matrix.example.com`), instead of the base domain "
  65. "(`example.com`)."
  66. msgstr ""
  67. #: ../../../docs/configuring-well-known.md:19
  68. msgid ""
  69. "As [per the Server-Server "
  70. "specification](https://matrix.org/docs/spec/server_server/r0.1.0.html"
  71. "#server-discovery), in order to use a short Matrix user ID like "
  72. "`@alice:example.com` instead of `@alice:matrix.example.com` while hosting"
  73. " services on a subdomain such as `matrix.example.com`, the Matrix network"
  74. " needs to be instructed of [server delegation](howto-server-"
  75. "delegation.md) / redirection."
  76. msgstr ""
  77. #: ../../../docs/configuring-well-known.md:21
  78. msgid ""
  79. "For simplicity reasons, this playbook recommends you to set up server "
  80. "delegation via a `/.well-known/matrix/server` file."
  81. msgstr ""
  82. #: ../../../docs/configuring-well-known.md:23
  83. msgid ""
  84. "If you set up the DNS SRV record for server delegation instead, take a "
  85. "look at this documentation for more information: [Server Delegation via a"
  86. " DNS SRV record (advanced)](howto-server-delegation.md#server-delegation-"
  87. "via-a-dns-srv-record-advanced)"
  88. msgstr ""
  89. #: ../../../docs/configuring-well-known.md:25
  90. msgid "Client Server Discovery"
  91. msgstr ""
  92. #: ../../../docs/configuring-well-known.md:27
  93. msgid ""
  94. "Client Server Service discovery lets various client programs which "
  95. "support it, to receive a full user ID (e.g. `@alice:example.com`) and "
  96. "determine where the Matrix server is automatically (e.g. "
  97. "`https://matrix.example.com`)."
  98. msgstr ""
  99. #: ../../../docs/configuring-well-known.md:29
  100. msgid ""
  101. "This lets you (and your users) easily connect to your Matrix server "
  102. "without having to customize connection URLs. When using client programs "
  103. "that support it, you won't need to point them to "
  104. "`https://matrix.example.com` in Custom Server options manually anymore. "
  105. "The connection URL would be discovered automatically from your full "
  106. "username."
  107. msgstr ""
  108. #: ../../../docs/configuring-well-known.md:31
  109. msgid ""
  110. "Without /.well-known/matrix/client, the client will make the wrong "
  111. "\"homeserver URL\" assumption (it will default to using "
  112. "https://example.com, and users will need to notice and adjust it manually"
  113. " (changing it to https://matrix.example.com)."
  114. msgstr ""
  115. #: ../../../docs/configuring-well-known.md:33
  116. msgid ""
  117. "As [per the Client-Server "
  118. "specification](https://matrix.org/docs/spec/client_server/r0.4.0.html"
  119. "#server-discovery) Matrix does Client Server service discovery using a "
  120. "`/.well-known/matrix/client` file hosted on the base domain (e.g. "
  121. "`example.com`)."
  122. msgstr ""
  123. #: ../../../docs/configuring-well-known.md:35
  124. msgid ""
  125. "However, this playbook installs your Matrix server on another domain "
  126. "(e.g. `matrix.example.com`) and not on the base domain (e.g. "
  127. "`example.com`), so it takes a little extra manual effort to set up the "
  128. "file."
  129. msgstr ""
  130. #: ../../../docs/configuring-well-known.md:37
  131. msgid "(Optional) Support Service Discovery"
  132. msgstr ""
  133. #: ../../../docs/configuring-well-known.md:39
  134. msgid ""
  135. "[MSC 1929](https://github.com/matrix-org/matrix-spec-"
  136. "proposals/pull/1929), which was added to [Matrix Specification version "
  137. "v1.10](https://spec.matrix.org/v1.10/client-server-api/#getwell-"
  138. "knownmatrixsupport), specifies a way to add contact details of admins, as"
  139. " well as a link to a support page for users who are having issues with "
  140. "the service. Automated services may also index this information and use "
  141. "it for abuse reports, etc."
  142. msgstr ""
  143. #: ../../../docs/configuring-well-known.md:41
  144. msgid ""
  145. "To enable it, add the following configuration to your "
  146. "`inventory/host_vars/matrix.example.com/vars.yml` file:"
  147. msgstr ""
  148. #: ../../../docs/configuring-well-known.md:62
  149. msgid "Installing well-known files on the base domain's server"
  150. msgstr ""
  151. #: ../../../docs/configuring-well-known.md:64
  152. msgid ""
  153. "To implement the service discovery mechanisms, your base domain's server "
  154. "(e.g. `example.com`) needs to run an HTTPS-capable webserver."
  155. msgstr ""
  156. #: ../../../docs/configuring-well-known.md:66
  157. msgid "Serving the base domain from the Matrix server via the playbook"
  158. msgstr ""
  159. #: ../../../docs/configuring-well-known.md:68
  160. msgid ""
  161. "If you don't have a server for your base domain at all, you can use the "
  162. "Matrix server for this. If you don't need the base domain (e.g. "
  163. "`example.com`) for anything else (hosting a website, etc.), you can point"
  164. " it to the Matrix server's IP address and tell the playbook to configure "
  165. "it."
  166. msgstr ""
  167. #: ../../../docs/configuring-well-known.md:70
  168. msgid ""
  169. "**This is the easiest way to set up well-known serving** -- letting the "
  170. "playbook handle the whole base domain for you (including SSL "
  171. "certificates, etc.) and take care to serve the appropriate well-known "
  172. "files automatically."
  173. msgstr ""
  174. #: ../../../docs/configuring-well-known.md:72
  175. msgid ""
  176. "If you decide to go this route, you don't need to read ahead in this "
  177. "document. Instead, go to [Serving the base domain](configuring-playbook-"
  178. "base-domain-serving.md) to learn how the playbook can help you set it up."
  179. msgstr ""
  180. #: ../../../docs/configuring-well-known.md:74
  181. msgid ""
  182. "However, if you need to use the base domain for other things, this method"
  183. " is less suitable than the one explained below."
  184. msgstr ""
  185. #: ../../../docs/configuring-well-known.md:76
  186. msgid "Manually installing well-known files on the base domain's server"
  187. msgstr ""
  188. #: ../../../docs/configuring-well-known.md:78
  189. msgid ""
  190. "If you're managing the base domain by yourself somehow, you'll need to "
  191. "set up serving of some `/.well-known/matrix/*` files from it via HTTPS."
  192. msgstr ""
  193. #: ../../../docs/configuring-well-known.md:80
  194. msgid ""
  195. "To make things easy for you to set up, this playbook generates and hosts "
  196. "a few well-known files on the Matrix domain's server. The files are "
  197. "generated at the `/matrix/static-files/public/.well-known/matrix/` path "
  198. "on the server and hosted at URLs like `https://matrix.example.com/.well-"
  199. "known/matrix/server` and `https://matrix.example.com/.well-"
  200. "known/matrix/client`, even though this is the wrong place to host them."
  201. msgstr ""
  202. #: ../../../docs/configuring-well-known.md:82
  203. msgid ""
  204. "You have two options when it comes to installing the files on the base "
  205. "domain's server:"
  206. msgstr ""
  207. #: ../../../docs/configuring-well-known.md:84
  208. msgid "(Option 1): **Copying the files manually** to your base domain's server"
  209. msgstr ""
  210. #: ../../../docs/configuring-well-known.md:86
  211. msgid ""
  212. "**Hint**: Option 2 is generally a better way to do this. Make sure to go "
  213. "with it, if possible."
  214. msgstr ""
  215. #: ../../../docs/configuring-well-known.md:88
  216. msgid "All you need to do is:"
  217. msgstr ""
  218. #: ../../../docs/configuring-well-known.md:90
  219. msgid ""
  220. "copy `/.well-known/matrix/server` and `/.well-known/matrix/client` from "
  221. "the Matrix server (e.g. `matrix.example.com`) to your base domain's "
  222. "server (`example.com`). You can find these files in the `/matrix/static-"
  223. "files/.well-known/matrix` directory on the Matrix server. They are also "
  224. "accessible on URLs like this: `https://matrix.example.com/.well-"
  225. "known/matrix/server` (same for `client`)."
  226. msgstr ""
  227. #: ../../../docs/configuring-well-known.md:92
  228. msgid ""
  229. "set up the server at your base domain (e.g. `example.com`) so that it "
  230. "adds an extra HTTP header when serving the `/.well-known/matrix/client` "
  231. "file. [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS), the"
  232. " `Access-Control-Allow-Origin` header should be set with a value of `*`. "
  233. "If you don't do this step, web-based Matrix clients (like Element Web) "
  234. "may fail to work. Setting up headers for the `/.well-known/matrix/server`"
  235. " file is not necessary, as this file is only consumed by non-browsers, "
  236. "which don't care about CORS."
  237. msgstr ""
  238. #: ../../../docs/configuring-well-known.md:94
  239. msgid ""
  240. "This is relatively easy to do and possibly your only choice if you can "
  241. "only host static files from the base domain's server. It is, however, **a"
  242. " little fragile**, as future updates performed by this playbook may "
  243. "regenerate the well-known files and you may need to notice that and copy "
  244. "them over again."
  245. msgstr ""
  246. #: ../../../docs/configuring-well-known.md:96
  247. msgid ""
  248. "(Option 2): **Setting up reverse-proxying** of the well-known files from "
  249. "the base domain's server to the Matrix server"
  250. msgstr ""
  251. #: ../../../docs/configuring-well-known.md:98
  252. msgid "This option is less fragile and generally better."
  253. msgstr ""
  254. #: ../../../docs/configuring-well-known.md:100
  255. msgid ""
  256. "On the base domain's server (e.g. `example.com`), you can set up reverse-"
  257. "proxying, so that any access for the `/.well-known/matrix` location "
  258. "prefix is forwarded to the Matrix domain's server (e.g. "
  259. "`matrix.example.com`)."
  260. msgstr ""
  261. #: ../../../docs/configuring-well-known.md:102
  262. msgid ""
  263. "With this method, you **don't need** to add special HTTP headers for "
  264. "[CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS) reasons "
  265. "(like `Access-Control-Allow-Origin`), because your Matrix server (where "
  266. "requests ultimately go) will be configured by this playbook correctly."
  267. msgstr ""
  268. #: ../../../docs/configuring-well-known.md:104
  269. msgid "**For nginx**, it would be something like this:"
  270. msgstr ""
  271. #: ../../../docs/configuring-well-known.md:121
  272. msgid "**For Apache2**, it would be something like this:"
  273. msgstr ""
  274. #: ../../../docs/configuring-well-known.md:135
  275. msgid "**For Caddy 2**, it would be something like this:"
  276. msgstr ""
  277. #: ../../../docs/configuring-well-known.md:145
  278. msgid "**For HAProxy**, it would be something like this:"
  279. msgstr ""
  280. #: ../../../docs/configuring-well-known.md:164
  281. msgid ""
  282. "**For Netlify**, configure a "
  283. "[redirect](https://docs.netlify.com/routing/redirects/) using a "
  284. "`_redirects` file in the [publish directory](https://docs.netlify.com"
  285. "/configure-builds/overview/#definitions) with contents like this:"
  286. msgstr ""
  287. #: ../../../docs/configuring-well-known.md:170
  288. msgid "**For AWS CloudFront**"
  289. msgstr ""
  290. #: ../../../docs/configuring-well-known.md:172
  291. msgid "Add a custom origin with matrix.example.com to your distribution"
  292. msgstr ""
  293. #: ../../../docs/configuring-well-known.md:173
  294. msgid ""
  295. "Add two behaviors, one for `.well-known/matrix/client` and one for "
  296. "`.well-known/matrix/server` and point them to your new origin."
  297. msgstr ""
  298. #: ../../../docs/configuring-well-known.md:175
  299. msgid "Make sure to:"
  300. msgstr ""
  301. #: ../../../docs/configuring-well-known.md:177
  302. msgid ""
  303. "**replace `example.com`** in the server configuration with your actual "
  304. "domain name"
  305. msgstr ""
  306. #: ../../../docs/configuring-well-known.md:178
  307. msgid ""
  308. "and: to **do this for the HTTPS-enabled server block**, as that's where "
  309. "Matrix expects the file to be"
  310. msgstr ""
  311. #: ../../../docs/configuring-well-known.md:180
  312. msgid "Confirming it works"
  313. msgstr ""
  314. #: ../../../docs/configuring-well-known.md:182
  315. msgid ""
  316. "No matter which method you've used to set up the well-known files, if "
  317. "you've done it correctly you should be able to see a JSON file at these "
  318. "URLs:"
  319. msgstr ""
  320. #: ../../../docs/configuring-well-known.md:184
  321. msgid "`https://example.com/.well-known/matrix/server`"
  322. msgstr ""
  323. #: ../../../docs/configuring-well-known.md:185
  324. msgid "`https://example.com/.well-known/matrix/client`"
  325. msgstr ""
  326. #: ../../../docs/configuring-well-known.md:186
  327. msgid "`https://example.com/.well-known/matrix/support`"
  328. msgstr ""
  329. #: ../../../docs/configuring-well-known.md:188
  330. msgid ""
  331. "You can also check if everything is configured correctly, by [checking if"
  332. " services work](maintenance-checking-services.md)."
  333. msgstr ""