Add get endpoint to ipfs proxied API
This commit is contained in:
1 parent
f96444d6f4
commit
cf48006a0a
1 file changed
+4
@@ -40,6 +40,10 @@ server {
|
||||
proxy_pass http://_ipfs/api/v0/add;
|
||||
}
|
||||
|
||||
location /api/v0/get {
|
||||
proxy_pass http://_ipfs/api/v0/get;
|
||||
}
|
||||
|
||||
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>
|
||||
ssl_certificate <%= @ssl_cert %>;
|
||||
ssl_certificate_key <%= @ssl_key %>;
|
||||
|
||||
Reference in new issue
Block a user