summaryrefslogtreecommitdiff
path: root/templates/site-ssl.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/site-ssl.erb')
-rw-r--r--templates/site-ssl.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/site-ssl.erb b/templates/site-ssl.erb
index 871aeb4..ee9c5c8 100644
--- a/templates/site-ssl.erb
+++ b/templates/site-ssl.erb
@@ -1,10 +1,10 @@
server {
listen 443 ssl http2;
- server_name *.<%= @name %> <%= @name %>;
+ server_name *.<%= @use_fqdn %> <%= @use_fqdn %>;
ssl on;
- ssl_certificate /etc/letsencrypt/live/<%= @name %>/fullchain.pem;
- ssl_certificate_key /etc/letsencrypt/live/<%= @name %>/privkey.pem;
+ ssl_certificate /etc/letsencrypt/live/<%= @use_fqdn %>/fullchain.pem;
+ ssl_certificate_key /etc/letsencrypt/live/<%= @use_fqdn %>/privkey.pem;
ssl_session_timeout 5m;