Add get endpoint to ipfs proxied API
This commit is contained in:
parent
f96444d6f4
commit
cf48006a0a
|
@ -40,6 +40,10 @@ server {
|
||||||
proxy_pass http://_ipfs/api/v0/add;
|
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) -%>
|
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>
|
||||||
ssl_certificate <%= @ssl_cert %>;
|
ssl_certificate <%= @ssl_cert %>;
|
||||||
ssl_certificate_key <%= @ssl_key %>;
|
ssl_certificate_key <%= @ssl_key %>;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user