Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>pull/4132/head
| @@ -1,3 +1,9 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| ## Using other reverse-proxies for fronting the integrated Traefik reverse-proxy | ## Using other reverse-proxies for fronting the integrated Traefik reverse-proxy | ||||
| This directory contains sample configuration for various webservers, showing you how to put these reverse-proxies in front of the integrated Traefik reverse-proxy used by the playbook. | This directory contains sample configuration for various webservers, showing you how to put these reverse-proxies in front of the integrated Traefik reverse-proxy used by the playbook. | ||||
| @@ -1,3 +1,11 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2019 - 2024 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2024 Rubén Cabrera | |||||
| SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| # Apache reverse-proxy | # Apache reverse-proxy | ||||
| This directory contains sample files that show you how to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with your Apache reverse-proxy. | This directory contains sample files that show you how to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with your Apache reverse-proxy. | ||||
| @@ -1,3 +1,8 @@ | |||||
| # SPDX-FileCopyrightText: 2019 - 2024 Slavi Pantaleev | |||||
| # SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| # This is a sample file demonstrating how to set up reverse-proxy for element.example.com. | # This is a sample file demonstrating how to set up reverse-proxy for element.example.com. | ||||
| # If you're not using Element Web (`matrix_client_element_enabled: false`), you won't need this. | # If you're not using Element Web (`matrix_client_element_enabled: false`), you won't need this. | ||||
| @@ -1,3 +1,9 @@ | |||||
| # SPDX-FileCopyrightText: 2024 MDAD project contributors | |||||
| # SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| # SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| # This is a sample file demonstrating how to set up reverse-proxy for matrix.example.com | # This is a sample file demonstrating how to set up reverse-proxy for matrix.example.com | ||||
| <VirtualHost *:80> | <VirtualHost *:80> | ||||
| @@ -1,3 +1,9 @@ | |||||
| # SPDX-FileCopyrightText: 2024 MDAD project contributors | |||||
| # SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| # SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| matrix.example.com { | matrix.example.com { | ||||
| handle { | handle { | ||||
| @@ -1,3 +1,10 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2024 MDAD project contributors | |||||
| SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| # Caddy reverse-proxy fronting the playbook's integrated Traefik reverse-proxy | # Caddy reverse-proxy fronting the playbook's integrated Traefik reverse-proxy | ||||
| This directory contains a sample config that shows you how to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with your own **containerized** [Caddy](https://caddyserver.com/) reverse-proxy. If you have a server with a Caddy container already serving several applications and you want to install Matrix on it (with no changes to existing traffic routing), then this guide is for you. | This directory contains a sample config that shows you how to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with your own **containerized** [Caddy](https://caddyserver.com/) reverse-proxy. If you have a server with a Caddy container already serving several applications and you want to install Matrix on it (with no changes to existing traffic routing), then this guide is for you. | ||||
| @@ -1,3 +1,8 @@ | |||||
| # SPDX-FileCopyrightText: 2024 MDAD project contributors | |||||
| # SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| version: "3.9" | version: "3.9" | ||||
| @@ -1,3 +1,12 @@ | |||||
| # SPDX-FileCopyrightText: 2020 - 2023 MDAD project contributors | |||||
| # SPDX-FileCopyrightText: 2020 Olaf Schoenwald | |||||
| # SPDX-FileCopyrightText: 2020 Panagiotis Vasilopoulos | |||||
| # SPDX-FileCopyrightText: 2021 - 2024 Slavi Pantaleev | |||||
| # SPDX-FileCopyrightText: 2022 François Darveau | |||||
| # SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| matrix.example.com { | matrix.example.com { | ||||
| handle { | handle { | ||||
| @@ -1,3 +1,13 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2020 - 2023 MDAD project contributors | |||||
| SPDX-FileCopyrightText: 2021 Rafael Girão | |||||
| SPDX-FileCopyrightText: 2024 Rubén Cabrera | |||||
| SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| # Caddy reverse-proxy fronting the playbook's integrated Traefik reverse-proxy | # Caddy reverse-proxy fronting the playbook's integrated Traefik reverse-proxy | ||||
| This directory contains a sample config that shows you how to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with your own [Caddy](https://caddyserver.com/) reverse-proxy. | This directory contains a sample config that shows you how to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with your own [Caddy](https://caddyserver.com/) reverse-proxy. | ||||
| @@ -1,3 +1,11 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2019 MDAD project contributors | |||||
| SPDX-FileCopyrightText: 2024 Rubén Cabrera | |||||
| SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| # HAproxy reverse-proxy | # HAproxy reverse-proxy | ||||
| This directory contains sample files that show you how to do reverse-proxying using HAproxy. | This directory contains sample files that show you how to do reverse-proxying using HAproxy. | ||||
| @@ -1,3 +1,8 @@ | |||||
| # SPDX-FileCopyrightText: 2019 MDAD project contributors | |||||
| # SPDX-FileCopyrightText: 2020 - 2024 Slavi Pantaleev | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| global | global | ||||
| log /dev/log local0 | log /dev/log local0 | ||||
| log /dev/log local1 notice | log /dev/log local1 notice | ||||
| @@ -1,3 +1,12 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2024 Gouthaman Raveendran | |||||
| SPDX-FileCopyrightText: 2024 MDAD project contributors | |||||
| SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| # Nginx Proxy Manager fronting the playbook's integrated Traefik reverse-proxy | # Nginx Proxy Manager fronting the playbook's integrated Traefik reverse-proxy | ||||
| Similar to standard nginx, [Nginx Proxy Manager](https://nginxproxymanager.com/) provides nginx capabilities but inside a pre-built Docker container. With the ability for managing proxy hosts and automatic SSL certificates via a simple web interface. | Similar to standard nginx, [Nginx Proxy Manager](https://nginxproxymanager.com/) provides nginx capabilities but inside a pre-built Docker container. With the ability for managing proxy hosts and automatic SSL certificates via a simple web interface. | ||||
| @@ -1,3 +1,13 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2023 - 2024 MDAD project contributors | |||||
| SPDX-FileCopyrightText: 2023 - 2024 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2023 Jost Alemann | |||||
| SPDX-FileCopyrightText: 2024 Rubén Cabrera | |||||
| SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| # Nginx reverse-proxy fronting the playbook's integrated Traefik reverse-proxy | # Nginx reverse-proxy fronting the playbook's integrated Traefik reverse-proxy | ||||
| This directory contains a sample config that shows you how to use the [nginx](https://nginx.org/) webserver to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with another reverse-proxy. | This directory contains a sample config that shows you how to use the [nginx](https://nginx.org/) webserver to front the integrated [Traefik](https://traefik.io/) reverse-proxy webserver with another reverse-proxy. | ||||
| @@ -1,3 +1,9 @@ | |||||
| # SPDX-FileCopyrightText: 2023 - 2024 Jost Alemann | |||||
| # SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara | |||||
| # SPDX-FileCopyrightText: 2024 Slavi Pantaleev | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| server { | server { | ||||
| # TODO: once per IP and port you should add `reuseport`, if you don't have that in any other nginx config file, add it here by uncommenting the lines below and commenting the one after with `quic` but without `reuseport` | # TODO: once per IP and port you should add `reuseport`, if you don't have that in any other nginx config file, add it here by uncommenting the lines below and commenting the one after with `quic` but without `reuseport` | ||||
| #listen 443 quic reuseport; | #listen 443 quic reuseport; | ||||