troubleshooting
This commit is contained in:
parent
4bb2c14c83
commit
ae95c2dd0e
@ -12,9 +12,6 @@
|
||||
proxy_conf_look: "{{ lookup('template', proxy_conf) }}"
|
||||
when: proxy_conf is defined and proxy_conf is is_file
|
||||
|
||||
- debug:
|
||||
msg: "{{ vhost }}"
|
||||
|
||||
- name: generate default vhosts
|
||||
template:
|
||||
src: "{{ default_vhost }}"
|
||||
|
@ -1,4 +1,4 @@
|
||||
map $http_host $comun_{{ vhost.nodo | replace(".", "_") }} {
|
||||
map $http_host $comun_{{ vhost.nodo | replace(".", "") }} {
|
||||
hostnames;
|
||||
{% for domain in vhost.domains %}
|
||||
.{{ domain }} {{ vhost.nodo }};
|
||||
@ -38,7 +38,7 @@ server {
|
||||
|
||||
include conf/common.conf;
|
||||
|
||||
{% if proxy_conf is is_file %}
|
||||
{% if proxy_conf is defined and proxy_conf is is_file %}
|
||||
{{ proxy_conf_look }}
|
||||
{% else %}
|
||||
{% include "default_proxy.conf" %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user