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.
 
 
 
 

15 lines
398 B

server {
listen {{ public_ip }}:80;
server_name {{ hostname }}.lilik.it www.{{ hostname }}.lilik.it;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_set_header X-NginX-Proxy true;
location / {
proxy_pass http://{{ hostvars[ansible_hostname]['ansible_host'] }};
}
}