troubleshooting

This commit is contained in:
Bet@ 2024-09-11 18:33:29 -03:00
parent 4bb2c14c83
commit ae95c2dd0e
2 changed files with 2 additions and 5 deletions

View File

@ -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 }}"

View File

@ -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" %}