瀏覽代碼

restructured introduction to own webserver deployments

pull/2352/head
thigg 3 年之前
committed by GitHub
父節點
當前提交
3c8006a68e
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 4 行新增3 行删除
  1. +4
    -3
      docs/configuring-playbook-own-webserver.md

+ 4
- 3
docs/configuring-playbook-own-webserver.md 查看文件

@@ -6,14 +6,15 @@ If that's alright, you can skip this.
If you don't want this playbook's nginx webserver to take over your server's 80/443 ports like that,
and you'd like to use your own webserver (be it nginx, Apache, Varnish Cache, etc.), you can.

You should note, however, that the playbook's services work best when you keep using the integrated `matrix-nginx-proxy` webserver.
For example, disabling `matrix-nginx-proxy` when running a [Synapse worker setup for load-balancing](configuring-playbook-synapse.md#load-balancing-with-workers) (a more advanced, non-default configuration) is likely to cause various troubles (see [this issue](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2090)). If you need a such more scalable setup, disabling `matrix-nginx-proxy` will be a bad idea. If yours will be a simple (default, non-worker-load-balancing) deployment, disabling `matrix-nginx-proxy` may be fine.

There are **2 ways you can go about it**, if you'd like to use your own webserver:

- [Method 1: Disabling the integrated nginx reverse-proxy webserver](#method-1-disabling-the-integrated-nginx-reverse-proxy-webserver)
- For default, non-worker-load-balancing deployments
- With nginx you can include the nginx config generated by this playbook into your own nginx

- [Method 2: Fronting the integrated nginx reverse-proxy webserver with another reverse-proxy](#method-2-fronting-the-integrated-nginx-reverse-proxy-webserver-with-another-reverse-proxy)
- For advanced setups
- E.g. when running a [Synapse worker setup for load-balancing](configuring-playbook-synapse.md#load-balancing-with-workers) (a more advanced, non-default configuration, see [this issue](https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2090)).


## Method 1: Disabling the integrated nginx reverse-proxy webserver


Loading…
取消
儲存