Skip to content

Commit b70c61a

Browse files
committed
fix: nginx SSL proxy to KuCoin API
1 parent d8d6070 commit b70c61a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎react/nginx.conf‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ server {
2222
rewrite ^/kucoin-api/(.*)$ /$1 break;
2323
proxy_pass https://api.kucoin.com;
2424
proxy_set_header Host api.kucoin.com;
25+
proxy_ssl_server_name on;
26+
proxy_ssl_protocols TLSv1.2 TLSv1.3;
27+
resolver 8.8.8.8 1.1.1.1 valid=300s ipv6=off;
28+
proxy_connect_timeout 10s;
29+
proxy_read_timeout 30s;
2530
}
2631

2732
location ~* \.(js|css|png|jpg|jpeg|gif|ico|svg|woff|woff2)$ {

0 commit comments

Comments
 (0)