summaryrefslogtreecommitdiff
path: root/templates/site.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-17 15:56:48 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-17 15:56:48 -0300
commit87521903b5d4b9dc96758b4e734ca3db96c9b214 (patch)
treed33f85ce1c0ab09a417f188a26caf2d603192b82 /templates/site.erb
parentaf426f2985e75d0dc235bbb05460eed41315cc94 (diff)
downloadpuppet-nginx-87521903b5d4b9dc96758b4e734ca3db96c9b214.tar.gz
puppet-nginx-87521903b5d4b9dc96758b4e734ca3db96c9b214.tar.bz2
Adds use_fqdn param
Diffstat (limited to 'templates/site.erb')
-rw-r--r--templates/site.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/site.erb b/templates/site.erb
index 93b66b8..9c575cb 100644
--- a/templates/site.erb
+++ b/templates/site.erb
@@ -1,9 +1,9 @@
server {
listen 80;
- server_name *.<%= @name %> <%= @name %>;
+ server_name *.<%= @use_fqdn %> <%= @use_fqdn %>;
location /.well-known/acme-challenge {
- root /var/spool/certbot/<%= @name %>;
+ root /var/spool/certbot/<%= @use_fqdn %>;
}
location / {