fix vhost creation
This commit is contained in:
parent
94bd2eabac
commit
ec4f939b77
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@
|
|||
template:
|
||||
src: vhost.conf.j2
|
||||
dest: "/etc/nginx/sites-available/{{ item.key }}"
|
||||
with_dict: "{{ nginx.vhosts }}"
|
||||
with_dict: "{{ {}|combine((nginx_forcessl_vhost if nginx.force_ssl else {}), nginx.vhosts, recursive=True) }}"
|
||||
notify:
|
||||
- restart nginx
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue