raspiblitz/home.admin/assets/nginx/sites-available/btcpay_ssl.conf

27 lines
560 B
Text
Raw Normal View History

2020-06-11 18:15:42 +01:00
## btcpay_ssl.conf
server {
listen 23001 ssl;
listen [::]:23001 ssl;
server_name _;
include /etc/nginx/snippets/ssl-params.conf;
include /etc/nginx/snippets/ssl-certificate-app-data.conf;
access_log /var/log/nginx/access_btcpay.log;
error_log /var/log/nginx/error_btcpay.log;
location / {
proxy_pass http://127.0.0.1:23000;
# For websockets
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $http_connection;
2020-06-11 18:15:42 +01:00
include /etc/nginx/snippets/ssl-proxy-params.conf;
}
}