lab-ansible/roles/apps/templates/nginx/conf.d/monerod.conf.j2

15 lines
353 B
Django/Jinja

# THIS FILE IS MANAGED BY ANSIBLE
# code: language=ansible-jinja
server {
listen 8080;
server_name {{ apps_vars.monerod.domain }};
resolver 127.0.0.11;
location / {
proxy_pass http://monerod:18089;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto "https";
}
}