From 4b56dae3f6c7a08457abe75ce28a65df580a55e7 Mon Sep 17 00:00:00 2001 From: Wietse Wind Date: Fri, 29 Dec 2023 01:07:36 +0100 Subject: [PATCH] Add blob endpoint for testnet --- conf/nginx.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 590241b..2675da8 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -114,6 +114,17 @@ http { location /mainnet/ { proxy_pass http://127.0.0.1:$PUBLIC_PORT/; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $connection_upgrade; + proxy_cache off; + proxy_buffering off; + # Configuration for LongPolling or if your KeepAliveInterval is longer than 60 seconds + proxy_read_timeout 100s; + proxy_set_header Host $host; + proxy_set_header X-Incoming-Scheme $scheme; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-No-Cors 1; } location / {