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

15 lines
353 B
Plaintext
Raw Normal View History

# THIS FILE IS MANAGED BY ANSIBLE
2023-11-11 14:47:51 +00:00
# code: language=ansible-jinja
2023-11-11 14:47:51 +00:00
server {
listen 8080;
server_name {{ apps_vars.monerod.domain }};
2023-12-22 20:57:19 +00:00
resolver 127.0.0.11;
2023-11-11 14:47:51 +00:00
location / {
proxy_pass http://monerod:18089;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto "https";
}
}