From 9f5a0cd02060da1d7b5001e3e4eab99ba349e627 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 1 Oct 2021 15:34:57 +0200 Subject: [PATCH] eth.link api --- docker/nginx/conf.d/server/server.api | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/nginx/conf.d/server/server.api b/docker/nginx/conf.d/server/server.api index ef9eb63c..4fea8424 100644 --- a/docker/nginx/conf.d/server/server.api +++ b/docker/nginx/conf.d/server/server.api @@ -105,6 +105,13 @@ location /ipfs/api { proxy_pass http://ipfs-node:5001; } +location /eth/link { + include /etc/nginx/conf.d/include/cors; + + rewrite /eth/link/(.*) /$1 break; + proxy_pass https://eth.link; +} + location /hnsres { include /etc/nginx/conf.d/include/cors;