Playbooks to a new Lilik
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
294 B

stream {
map $ssl_preread_server_name $name {
default original_dest;
{{ nome_macchina }}.lilik.it {{ nome_macchina }}_https;
}
upstream original_dest {
server 192.168.15.2:443;
}
upstream {{ nome_macchina }}_https {
server {{ hostvars[nome_macchina]['ansible_host'] }}:443;
}
}