Add object/data endpoint to IPFS nginx config
This is needed for the ipfs-api client to store data from e.g. kosmos-web.
This commit is contained in:
parent
afc07c3192
commit
b351bad994
@ -35,14 +35,15 @@ server {
|
||||
location /api/v0/cat {
|
||||
proxy_pass http://_ipfs/api/v0/cat;
|
||||
}
|
||||
|
||||
location /api/v0/add {
|
||||
proxy_pass http://_ipfs/api/v0/add;
|
||||
}
|
||||
|
||||
location /api/v0/object/get {
|
||||
proxy_pass http://_ipfs/api/v0/object/get;
|
||||
}
|
||||
location /api/v0/object/data {
|
||||
proxy_pass http://_ipfs/api/v0/object/data;
|
||||
}
|
||||
|
||||
<% if File.exist?(@ssl_cert) && File.exist?(@ssl_key) -%>
|
||||
ssl_certificate <%= @ssl_cert %>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user