commit 51a1b96dbeeab39eaadff1d6b37ad9757aeabf07
parent 56edbfe392892fc47da0993d9d04c7a4e84164f2
Author: Leah Thein <leah@toaster.fritz.box>
Date: Wed, 2 Dec 2020 00:20:37 +0100
parent 56edbfe392892fc47da0993d9d04c7a4e84164f2
Author: Leah Thein <leah@toaster.fritz.box>
Date: Wed, 2 Dec 2020 00:20:37 +0100
frps: update nginx-vhost
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/roles/frps/templates/frps-vhost.conf.j2 b/roles/frps/templates/frps-vhost.conf.j2 @@ -1,11 +1,10 @@ - {% for vhost in frps.vhosts %} server { listen 443 ssl; listen [::]:443 ssl; - ssl_certificate "{{frps.sslDir}}/{{vhost}}.{{frps.vhost_domain}}/{{frps.sslCertFile}}"; - ssl_certificate_key "{{frps.sslDir}}/{{vhost}}.{{frps.vhost_domain}}/{{frps.sslPrivkeyFile}}"; + ssl_certificate "{{frps.ssl_cert}}"; + ssl_certificate_key "{{frps.ssl_privkey}}"; include /etc/nginx/ssl.conf; server_name {{vhost}}.{{frps.vhost_domain}};