From 3a1ea53739f4a6bfb94871e95c3186a6e0d3bae0 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Sat, 7 Dec 2024 18:53:15 +0900 Subject: [PATCH] Setting up REUSE: add copyright statements to files in examples/ Signed-off-by: Suguru Hirahara --- examples/host.yml | 4 ++++ examples/hosts | 4 ++++ examples/reverse-proxies/README.md | 6 ++++++ examples/reverse-proxies/apache/README.md | 6 ++++++ examples/reverse-proxies/apache/matrix-client-element.conf | 4 ++++ examples/reverse-proxies/apache/matrix-domain.conf | 4 ++++ examples/reverse-proxies/caddy2-in-container/Caddyfile | 4 ++++ examples/reverse-proxies/caddy2-in-container/README.md | 6 ++++++ .../reverse-proxies/caddy2-in-container/docker-compose.yaml | 4 ++++ examples/reverse-proxies/caddy2/Caddyfile | 4 ++++ examples/reverse-proxies/caddy2/README.md | 6 ++++++ examples/reverse-proxies/haproxy/README.md | 6 ++++++ examples/reverse-proxies/haproxy/haproxy.cfg | 4 ++++ examples/reverse-proxies/nginx-proxy-manager/README.md | 6 ++++++ examples/reverse-proxies/nginx/README.md | 6 ++++++ examples/reverse-proxies/nginx/matrix.conf | 4 ++++ examples/vars.yml | 4 ++++ 17 files changed, 82 insertions(+) diff --git a/examples/host.yml b/examples/host.yml index 85d2f3170..a47110bbf 100644 --- a/examples/host.yml +++ b/examples/host.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + --- # This is a host file for usage with the `../bin/ansible-all-hosts.sh` script, diff --git a/examples/hosts b/examples/hosts index d9407b2ab..0439502cc 100644 --- a/examples/hosts +++ b/examples/hosts @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + # We explicitly ask for your server's external IP address, because the same value is used for configuring Coturn. # If you'd rather use a local IP here, make sure to set up `matrix_coturn_turn_external_ip_address`. # diff --git a/examples/reverse-proxies/README.md b/examples/reverse-proxies/README.md index 91e10d5f6..5a2431a63 100644 --- a/examples/reverse-proxies/README.md +++ b/examples/reverse-proxies/README.md @@ -1,3 +1,9 @@ + + ## 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. diff --git a/examples/reverse-proxies/apache/README.md b/examples/reverse-proxies/apache/README.md index b4608c87c..5f77a965c 100644 --- a/examples/reverse-proxies/apache/README.md +++ b/examples/reverse-proxies/apache/README.md @@ -1,3 +1,9 @@ + + # 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. diff --git a/examples/reverse-proxies/apache/matrix-client-element.conf b/examples/reverse-proxies/apache/matrix-client-element.conf index d4321c2bd..384f156b5 100644 --- a/examples/reverse-proxies/apache/matrix-client-element.conf +++ b/examples/reverse-proxies/apache/matrix-client-element.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + # 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. diff --git a/examples/reverse-proxies/apache/matrix-domain.conf b/examples/reverse-proxies/apache/matrix-domain.conf index 18aaabd25..8b0233382 100644 --- a/examples/reverse-proxies/apache/matrix-domain.conf +++ b/examples/reverse-proxies/apache/matrix-domain.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + # This is a sample file demonstrating how to set up reverse-proxy for matrix.example.com diff --git a/examples/reverse-proxies/caddy2-in-container/Caddyfile b/examples/reverse-proxies/caddy2-in-container/Caddyfile index 0a3d1df07..b75beb45b 100644 --- a/examples/reverse-proxies/caddy2-in-container/Caddyfile +++ b/examples/reverse-proxies/caddy2-in-container/Caddyfile @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + matrix.example.com { handle { diff --git a/examples/reverse-proxies/caddy2-in-container/README.md b/examples/reverse-proxies/caddy2-in-container/README.md index 3a87bf234..6f0d953e2 100644 --- a/examples/reverse-proxies/caddy2-in-container/README.md +++ b/examples/reverse-proxies/caddy2-in-container/README.md @@ -1,3 +1,9 @@ + + # 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. diff --git a/examples/reverse-proxies/caddy2-in-container/docker-compose.yaml b/examples/reverse-proxies/caddy2-in-container/docker-compose.yaml index 49671e7ac..241e305a6 100644 --- a/examples/reverse-proxies/caddy2-in-container/docker-compose.yaml +++ b/examples/reverse-proxies/caddy2-in-container/docker-compose.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + --- version: "3.9" diff --git a/examples/reverse-proxies/caddy2/Caddyfile b/examples/reverse-proxies/caddy2/Caddyfile index c63b794ca..d6e4f53b1 100644 --- a/examples/reverse-proxies/caddy2/Caddyfile +++ b/examples/reverse-proxies/caddy2/Caddyfile @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + matrix.example.com { handle { diff --git a/examples/reverse-proxies/caddy2/README.md b/examples/reverse-proxies/caddy2/README.md index dcc1538af..a2a715003 100644 --- a/examples/reverse-proxies/caddy2/README.md +++ b/examples/reverse-proxies/caddy2/README.md @@ -1,3 +1,9 @@ + + # 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. diff --git a/examples/reverse-proxies/haproxy/README.md b/examples/reverse-proxies/haproxy/README.md index 086e49aa5..8d52f057f 100644 --- a/examples/reverse-proxies/haproxy/README.md +++ b/examples/reverse-proxies/haproxy/README.md @@ -1,3 +1,9 @@ + + # HAproxy reverse-proxy This directory contains sample files that show you how to do reverse-proxying using HAproxy. diff --git a/examples/reverse-proxies/haproxy/haproxy.cfg b/examples/reverse-proxies/haproxy/haproxy.cfg index 57c562bdd..472355e98 100644 --- a/examples/reverse-proxies/haproxy/haproxy.cfg +++ b/examples/reverse-proxies/haproxy/haproxy.cfg @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + global log /dev/log local0 log /dev/log local1 notice diff --git a/examples/reverse-proxies/nginx-proxy-manager/README.md b/examples/reverse-proxies/nginx-proxy-manager/README.md index e90289e9c..ac935dd2a 100644 --- a/examples/reverse-proxies/nginx-proxy-manager/README.md +++ b/examples/reverse-proxies/nginx-proxy-manager/README.md @@ -1,3 +1,9 @@ + + # 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. diff --git a/examples/reverse-proxies/nginx/README.md b/examples/reverse-proxies/nginx/README.md index 1fe76340d..05a0fa663 100644 --- a/examples/reverse-proxies/nginx/README.md +++ b/examples/reverse-proxies/nginx/README.md @@ -1,3 +1,9 @@ + + # 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. diff --git a/examples/reverse-proxies/nginx/matrix.conf b/examples/reverse-proxies/nginx/matrix.conf index 0919011ef..cd9972809 100644 --- a/examples/reverse-proxies/nginx/matrix.conf +++ b/examples/reverse-proxies/nginx/matrix.conf @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + 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` #listen 443 quic reuseport; diff --git a/examples/vars.yml b/examples/vars.yml index 45c631f14..faafe9003 100644 --- a/examples/vars.yml +++ b/examples/vars.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 MDAD Team and contributors +# +# SPDX-License-Identifier: AGPL-3.0-or-later + --- # The bare domain name which represents your Matrix identity. # Matrix user IDs for your server will be of the form (`@user:example.com`).