Add get endpoint to ipfs proxied API

This commit is contained in:
Greg 2017-06-09 13:37:33 +02:00
parent f96444d6f4
commit cf48006a0a
1 changed files with 4 additions and 0 deletions

View File

@ -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 %>;