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;
|
|
|
|
|
2020-09-14 11:54:42 +02:00
|
|
|
# For websockets
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
2022-02-14 14:32:07 +00:00
|
|
|
proxy_set_header Connection $http_connection;
|
2020-09-14 11:54:42 +02:00
|
|
|
|
2020-06-11 18:15:42 +01:00
|
|
|
include /etc/nginx/snippets/ssl-proxy-params.conf;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|