server_name_redirect is only added if defined

pull/105/head
Oskar Schöldström 7 years ago
parent 4c5df1faea
commit d227a1803c
  1. 2
      defaults/main.yml

@ -57,12 +57,12 @@ nginx_vhosts: []
# Example vhost below, showing all available options:
# - listen: "80" # default: "80"
# server_name: "example.com" # default: N/A
# server_name_redirect: "www.example.com" # default: N/A
# root: "/var/www/example.com" # default: N/A
# index: "index.html index.htm" # default: "index.html index.htm"
# vhost_filename: "example.com.conf" # Can be used to set the filename of the vhost file.
#
# # Properties that are only added if defined:
# server_name_redirect: "www.example.com" # default: N/A
# error_page: ""
# access_log: ""
# error_log: ""