We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7dc097f commit 5208b98Copy full SHA for 5208b98
frontend/nginx.conf
@@ -41,4 +41,12 @@ server {
41
proxy_set_header X-Real-IP $remote_addr;
42
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
43
}
44
+
45
+ # Etherscan-compatible API (exact /api path with query params, no trailing slash)
46
+ location = /api {
47
+ proxy_pass http://atlas-server:3000/api;
48
+ proxy_set_header Host $host;
49
+ proxy_set_header X-Real-IP $remote_addr;
50
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
51
+ }
52
0 commit comments