summaryrefslogtreecommitdiff
path: root/roles/apps/coturn/templates/nginx-vhost.conf.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-08-14 23:56:09 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-08-20 22:12:03 +0200
commit05a507a07b398f935187e8265974d0e82d0e77d2 (patch)
tree29dc92af6e1c790d3c7ed437bf146a2ac4c49056 /roles/apps/coturn/templates/nginx-vhost.conf.j2
parentetherpad-lite: move to generic nginx-vhost template (diff)
coturn: move to generic nginx-vhost template
Diffstat (limited to 'roles/apps/coturn/templates/nginx-vhost.conf.j2')
-rw-r--r--roles/apps/coturn/templates/nginx-vhost.conf.j227
1 files changed, 0 insertions, 27 deletions
diff --git a/roles/apps/coturn/templates/nginx-vhost.conf.j2 b/roles/apps/coturn/templates/nginx-vhost.conf.j2
deleted file mode 100644
index 577c33b4..00000000
--- a/roles/apps/coturn/templates/nginx-vhost.conf.j2
+++ /dev/null
@@ -1,27 +0,0 @@
-server {
- listen 80;
- listen [::]:80;
- server_name {{ coturn_hostnames | join(' ') }};
-
- include snippets/acmetool.conf;
-
- location / {
- return 301 https://$host$request_uri;
- }
-}
-
-server {
- listen 443 ssl http2;
- listen [::]:443 ssl http2;
- server_name {{ coturn_hostnames | join(' ') }};
-
- include snippets/acmetool.conf;
- include snippets/tls.conf;
- ssl_certificate {{ x509_certificate_path_fullchain }};
- ssl_certificate_key {{ x509_certificate_path_key }};
- include snippets/hsts.conf;
-
- location / {
- return 404;
- }
-}