ergo/templates/nginx.conf.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 05 Sep 2022 16:02:56 -0500
changeset 187 0f3a64c60ec5
parent 170 a20a6d03747f
child 200 10051617d075
permissions -rw-r--r--
Added lnd REST api to nginx. Moved prometheus and apt-cacher data to external hdd.

server {
      listen 6697 ssl;
      proxy_pass unix:/var/ergo/socket;
      proxy_protocol on;

      ssl_certificate {{nginx_ssl_cert}};
      ssl_certificate_key {{nginx_ssl_privkey}};
}