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

18 lines
452 B
Django/Jinja

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