mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 18:02:49 +00:00
21 lines
465 B
Plaintext
21 lines
465 B
Plaintext
server {
|
|
listen 5001 ssl;
|
|
server_name lnbits;
|
|
|
|
include /etc/nginx/mynode/mynode_ssl_params.conf;
|
|
include /etc/nginx/mynode/mynode_ssl_cert_key.conf;
|
|
|
|
access_log /var/log/nginx/access_lnbits.log;
|
|
error_log /var/log/nginx/error_lnbits.log;
|
|
|
|
location /static {
|
|
root /opt/mynode/lnbits/lnbits;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:5000;
|
|
|
|
include /etc/nginx/mynode/mynode_ssl_proxy_params.conf;
|
|
}
|
|
|
|
} |