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.
 
 

293 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/configuring-playbook-own-webserver.md:1
  24. msgid ""
  25. "Using your own webserver, instead of this playbook's Traefik reverse-"
  26. "proxy (optional, advanced)"
  27. msgstr ""
  28. #: ../../../docs/configuring-playbook-own-webserver.md:3
  29. msgid ""
  30. "By default, this playbook installs its own [Traefik](https://traefik.io/)"
  31. " reverse-proxy server (in a Docker container) which listens on ports 80 "
  32. "and 443. If that's okay, you can skip this document."
  33. msgstr ""
  34. #: ../../../docs/configuring-playbook-own-webserver.md:5
  35. msgid "Traefik"
  36. msgstr ""
  37. #: ../../../docs/configuring-playbook-own-webserver.md:7
  38. msgid ""
  39. "[Traefik](https://traefik.io/) is the default reverse-proxy for the "
  40. "playbook since [2023-02-26](../CHANGELOG.md/#2023-02-26) and serves **2 "
  41. "purposes**:"
  42. msgstr ""
  43. #: ../../../docs/configuring-playbook-own-webserver.md:9
  44. msgid ""
  45. "serving public traffic and providing SSL-termination with certificates "
  46. "obtained from [Let's Encrypt](https://letsencrypt.org/). See [Adjusting "
  47. "SSL certificate retrieval](./configuring-playbook-ssl-certificates.md)."
  48. msgstr ""
  49. #: ../../../docs/configuring-playbook-own-webserver.md:11
  50. msgid ""
  51. "assists internal communication between addon services (briges, bots, "
  52. "etc.) and the homeserver via an internal entrypoint (`matrix-internal-"
  53. "matrix-client-api`)."
  54. msgstr ""
  55. #: ../../../docs/configuring-playbook-own-webserver.md:13
  56. msgid "There are 2 ways to use Traefik with this playbook, as described below."
  57. msgstr ""
  58. #: ../../../docs/configuring-playbook-own-webserver.md:15
  59. msgid "Traefik managed by the playbook"
  60. msgstr ""
  61. #: ../../../docs/configuring-playbook-own-webserver.md:17
  62. msgid ""
  63. "To have the playbook install and use Traefik, add the following "
  64. "configuration to your `inventory/host_vars/matrix.example.com/vars.yml` "
  65. "file:"
  66. msgstr ""
  67. #: ../../../docs/configuring-playbook-own-webserver.md:25
  68. msgid "Traefik will manage SSL certificates for all services seamlessly."
  69. msgstr ""
  70. #: ../../../docs/configuring-playbook-own-webserver.md:27
  71. msgid "Traefik managed by you"
  72. msgstr ""
  73. #: ../../../docs/configuring-playbook-own-webserver.md:53
  74. msgid ""
  75. "In this mode all roles will still have Traefik labels attached. You will,"
  76. " however, need to configure your Traefik instance and its entrypoints."
  77. msgstr ""
  78. #: ../../../docs/configuring-playbook-own-webserver.md:55
  79. msgid ""
  80. "By default, the playbook configured a `default` certificate resolver and "
  81. "multiple entrypoints."
  82. msgstr ""
  83. #: ../../../docs/configuring-playbook-own-webserver.md:57
  84. msgid "You need to configure 4 entrypoints for your Traefik server:"
  85. msgstr ""
  86. #: ../../../docs/configuring-playbook-own-webserver.md:59
  87. msgid "`web` (TCP port `80`) - used for redirecting to HTTPS (`web-secure`)"
  88. msgstr ""
  89. #: ../../../docs/configuring-playbook-own-webserver.md:60
  90. msgid ""
  91. "`web-secure` (TCP port `443`) - used for exposing the Matrix Client-"
  92. "Server API and all other services"
  93. msgstr ""
  94. #: ../../../docs/configuring-playbook-own-webserver.md:61
  95. msgid ""
  96. "`matrix-federation` (TCP port `8448`) - used for exposing the Matrix "
  97. "Federation API"
  98. msgstr ""
  99. #: ../../../docs/configuring-playbook-own-webserver.md:62
  100. msgid ""
  101. "`matrix-internal-matrix-client-api` (TCP port `8008`) - used internally "
  102. "for addon services (bridges, bots) to communicate with the homserver"
  103. msgstr ""
  104. #: ../../../docs/configuring-playbook-own-webserver.md:64
  105. msgid ""
  106. "Below is some configuration for running Traefik yourself, although we "
  107. "recommend using [Traefik managed by the playbook](#traefik-managed-by-"
  108. "the-playbook)."
  109. msgstr ""
  110. #: ../../../docs/configuring-playbook-own-webserver.md:66
  111. msgid ""
  112. "Note that this configuration on its own does **not** redirect traffic on "
  113. "port 80 (plain HTTP) to port 443 for HTTPS. If you are not already doing "
  114. "this in Traefik, it can be added to Traefik in a [file "
  115. "provider](https://docs.traefik.io/v2.0/providers/file/) as follows:"
  116. msgstr ""
  117. #: ../../../docs/configuring-playbook-own-webserver.md:86
  118. msgid ""
  119. "You can use the following `docker-compose.yml` as example to launch "
  120. "Traefik."
  121. msgstr ""
  122. #: ../../../docs/configuring-playbook-own-webserver.md:122
  123. msgid "Another webserver"
  124. msgstr ""
  125. #: ../../../docs/configuring-playbook-own-webserver.md:124
  126. msgid "If you don't wish to use Traefik, you can also use your own webserver."
  127. msgstr ""
  128. #: ../../../docs/configuring-playbook-own-webserver.md:126
  129. msgid "Doing this is possible, but requires manual work."
  130. msgstr ""
  131. #: ../../../docs/configuring-playbook-own-webserver.md:128
  132. msgid "There are 2 ways to go about it:"
  133. msgstr ""
  134. #: ../../../docs/configuring-playbook-own-webserver.md:130
  135. msgid ""
  136. "(recommended) [Fronting the integrated reverse-proxy webserver with "
  137. "another reverse-proxy](#fronting-the-integrated-reverse-proxy-webserver-"
  138. "with-another-reverse-proxy) - using the playbook-managed reverse-proxy "
  139. "(Traefik), but disabling SSL termination for it, exposing this reverse-"
  140. "proxy on a few local ports (e.g. `127.0.0.1:81`, etc.) and forwarding "
  141. "traffic from your own webserver to those few ports"
  142. msgstr ""
  143. #: ../../../docs/configuring-playbook-own-webserver.md:132
  144. msgid ""
  145. "(difficult) [Using no reverse-proxy on the Matrix side at all](#using-no-"
  146. "reverse-proxy-on-the-matrix-side-at-all) disabling the playbook-managed "
  147. "reverse-proxy (Traefik), exposing services one by one using "
  148. "`_host_bind_port` variables and forwarding traffic from your own "
  149. "webserver to those ports"
  150. msgstr ""
  151. #: ../../../docs/configuring-playbook-own-webserver.md:134
  152. msgid "Fronting the integrated reverse-proxy webserver with another reverse-proxy"
  153. msgstr ""
  154. #: ../../../docs/configuring-playbook-own-webserver.md:136
  155. msgid ""
  156. "This method is about leaving the integrated reverse-proxy webserver be, "
  157. "but making it not get in the way (using up important ports, trying to "
  158. "retrieve SSL certificates, etc.)."
  159. msgstr ""
  160. #: ../../../docs/configuring-playbook-own-webserver.md:138
  161. msgid ""
  162. "If you wish to use another webserver, the integrated reverse-proxy "
  163. "webserver usually gets in the way because it attempts to fetch SSL "
  164. "certificates and binds to ports 80, 443 and 8448 (if Matrix Federation is"
  165. " enabled)."
  166. msgstr ""
  167. #: ../../../docs/configuring-playbook-own-webserver.md:140
  168. msgid ""
  169. "You can disable such behavior and make the integrated reverse-proxy "
  170. "webserver only serve traffic locally on the host itself (or over a local "
  171. "network)."
  172. msgstr ""
  173. #: ../../../docs/configuring-playbook-own-webserver.md:142
  174. msgid ""
  175. "This is the recommended way for using another reverse-proxy, because the "
  176. "integrated one would act as a black box and wire all Matrix services "
  177. "correctly. You would then only need to reverse-proxy a few individual "
  178. "domains and ports over to it."
  179. msgstr ""
  180. #: ../../../docs/configuring-playbook-own-webserver.md:144
  181. msgid ""
  182. "To front Traefik with another reverse-proxy, you would need some "
  183. "configuration like this:"
  184. msgstr ""
  185. #: ../../../docs/configuring-playbook-own-webserver.md:194
  186. msgid ""
  187. "Such a configuration would expose all services on a local port `81` and "
  188. "Matrix Federation on a local port `8449`. Your reverse-proxy "
  189. "configuration needs to send traffic to these ports. [`examples/reverse-"
  190. "proxies`](../examples/reverse-proxies/) contains examples for various "
  191. "webservers such as Apache2, Caddy, HAproxy, nginx and Nginx Proxy "
  192. "Manager."
  193. msgstr ""
  194. #: ../../../docs/configuring-playbook-own-webserver.md:196
  195. msgid ""
  196. "It's important that these webservers proxy-pass requests to the correct "
  197. "`ip:port` and also set the `Host` HTTP header appropriately. If you don't"
  198. " pass the `Host` header correctly, Traefik will return a `404 - not "
  199. "found` error."
  200. msgstr ""
  201. #: ../../../docs/configuring-playbook-own-webserver.md:198
  202. msgid "To put it another way:"
  203. msgstr ""
  204. #: ../../../docs/configuring-playbook-own-webserver.md:199
  205. msgid "`curl http://127.0.0.1:81` will result in a `404 - not found` error"
  206. msgstr ""
  207. #: ../../../docs/configuring-playbook-own-webserver.md:200
  208. msgid "but `curl -H 'Host: matrix.example.com' http://127.0.0.1:81` should work."
  209. msgstr ""
  210. #: ../../../docs/configuring-playbook-own-webserver.md:202
  211. msgid "Using no reverse-proxy on the Matrix side at all"
  212. msgstr ""
  213. #: ../../../docs/configuring-playbook-own-webserver.md:204
  214. msgid ""
  215. "Instead of [Fronting the integrated reverse-proxy webserver with another "
  216. "reverse-proxy](#fronting-the-integrated-reverse-proxy-webserver-with-"
  217. "another-reverse-proxy), you can also go another way -- completely "
  218. "disabling the playbook-managed Traefik reverse-proxy. You would then need"
  219. " to reverse-proxy from your own webserver directly to each individual "
  220. "Matrix service."
  221. msgstr ""
  222. #: ../../../docs/configuring-playbook-own-webserver.md:206
  223. msgid ""
  224. "This is more difficult, as you would need to handle the configuration for"
  225. " each service manually. Enabling additional services would come with "
  226. "extra manual work you need to do."
  227. msgstr ""
  228. #: ../../../docs/configuring-playbook-own-webserver.md:208
  229. msgid ""
  230. "Also, the Traefik reverse-proxy, besides fronting everything is also "
  231. "serving a 2nd purpose of allowing addons services to communicate with the"
  232. " Matrix homeserver thanks to its `matrix-internal-matrix-client-api` "
  233. "entrypoint (read more about it above). Disabling Traefik completely means"
  234. " the playbook would wire services to directly talk to the homeserver. "
  235. "This can work for basic setups, but not for more complex setups involving"
  236. " [matrix-media-repo](./configuring-playbook-matrix-media-repo.md), "
  237. "[matrix-corporal](./configuring-playbook-matrix-corporal.md) or other "
  238. "such services that need to \"steal routes\" from the homeserver."
  239. msgstr ""
  240. #: ../../../docs/configuring-playbook-own-webserver.md:210
  241. msgid ""
  242. "If your webserver is on the same machine, ensure your web server user "
  243. "(something like `http`, `apache`, `www-data`, `nginx`) is part of the "
  244. "`matrix` group. You should run something like this: `usermod -a -G matrix"
  245. " nginx`. This allows your webserver user to access files owned by the "
  246. "`matrix` group, so that it can serve static files from `/matrix/static-"
  247. "files`."
  248. msgstr ""