From 0acc4e65e920ba2531eb49deea93a275a6c964e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Fri, 9 Jun 2017 15:35:16 +0200 Subject: [PATCH] Fix the IPFS API URL for the get command --- .../templates/default/nginx_conf_ipfs.kosmos.org.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site-cookbooks/kosmos-ipfs/templates/default/nginx_conf_ipfs.kosmos.org.erb b/site-cookbooks/kosmos-ipfs/templates/default/nginx_conf_ipfs.kosmos.org.erb index e399f6c..9afd2ea 100644 --- a/site-cookbooks/kosmos-ipfs/templates/default/nginx_conf_ipfs.kosmos.org.erb +++ b/site-cookbooks/kosmos-ipfs/templates/default/nginx_conf_ipfs.kosmos.org.erb @@ -40,8 +40,8 @@ server { proxy_pass http://_ipfs/api/v0/add; } - location /api/v0/get { - proxy_pass http://_ipfs/api/v0/get; + location /api/v0/object/get { + proxy_pass http://_ipfs/api/v0/object/get; } <% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>