summaryrefslogtreecommitdiff
path: root/roles/apps/coturn/templates/nginx-vhost.conf.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-08-22 19:53:49 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-08-22 19:53:49 +0200
commitfc5d0657bfcba53ace230ff2ada64b7fcf9b97a3 (patch)
tree350a8d401e0113bff7d78aee4d8547cddf06b8f7 /roles/apps/coturn/templates/nginx-vhost.conf.j2
parentfix docker for debian bookworm+ (diff)
parentsome more cleanup for acme specific variables (diff)
Merge branch 'topic/uacme'
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 0639fbe1..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 /var/lib/acme/live/{{ coturn_hostnames[0] }}/fullchain;
- ssl_certificate_key /var/lib/acme/live/{{ coturn_hostnames[0] }}/privkey;
- include snippets/hsts.conf;
-
- location / {
- return 404;
- }
-}