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

18 lines
452 B
Plaintext
Raw Normal View History

2023-12-29 18:07:08 +00:00
{# code: language=ansible-jinja #}
# THIS FILE IS MANAGED BY ANSIBLE
2023-11-11 14:47:51 +00:00
server {
listen 8080;
server_name {{ apps_vars.monerod.domain }};
location / {
2023-12-25 20:49:17 +00:00
set $upstream http://monerod:18089;
proxy_pass $upstream;
2023-12-31 13:48:22 +00:00
2023-11-11 14:47:51 +00:00
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;
2024-01-28 18:24:00 +00:00
proxy_set_header Host $host;
2023-11-11 14:47:51 +00:00
}
}