Skip to content

Commit f07cee7

Browse files
nginx/rpc.conf
server { listen 443 ssl http2; server_name rpc.example.com; ssl_certificate /etc/letsencrypt/live/rpc.example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/rpc.example.com/privkey.pem; location / { proxy_pass http://127.0.0.1:8545; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto https; proxy_read_timeout 300s; } }
1 parent 3170b86 commit f07cee7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rpc.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
server { listen 443 ssl; server_name rpc.example.com; location / { proxy_pass http://127.0.0.1:8545; } }

0 commit comments

Comments
 (0)