Expose Skynet-File-Metadata (#86)
This commit is contained in:
parent
fc21e22675
commit
bde39400ae
|
@ -46,6 +46,9 @@ server {
|
|||
# make sure to override user agent header - siad requirement
|
||||
proxy_set_header User-Agent: Sia-Agent;
|
||||
|
||||
# make sure the Skynet-File-Metadata header gets exposed in the response
|
||||
add_header Access-Control-Expose-Headers skynet-file-metadata;
|
||||
|
||||
# if you are expecting large headers (ie. Skynet-Skyfile-Metadata), tune these values to your needs
|
||||
#proxy_buffer_size 128k;
|
||||
#proxy_buffers 4 128k;
|
||||
|
@ -61,6 +64,9 @@ server {
|
|||
# make sure to override user agent header - siad requirement
|
||||
proxy_set_header User-Agent: Sia-Agent;
|
||||
|
||||
# make sure the Skynet-File-Metadata header gets exposed in the response
|
||||
add_header Access-Control-Expose-Headers skynet-file-metadata;
|
||||
|
||||
# if you are expecting large headers (ie. Skynet-Skyfile-Metadata), tune these values to your needs
|
||||
#proxy_buffer_size 128k;
|
||||
#proxy_buffers 4 128k;
|
||||
|
|
Reference in New Issue