lab-ansible/roles/apps/templates/nginx/conf.d/monerod.conf.j2
2023-12-29 19:07:08 +01:00

16 lines
404 B
Django/Jinja

{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
server {
listen 8080;
server_name {{ apps_vars.monerod.domain }};
location / {
resolver 127.0.0.11 valid=30s;
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";
}
}