fix hns redirects
This commit is contained in:
parent
e663eebc9e
commit
cc48c09845
|
@ -189,7 +189,8 @@ server {
|
|||
|
||||
# if you are expecting large headers (ie. Skynet-Skyfile-Metadata), tune these values to your needs
|
||||
proxy_buffer_size 128k;
|
||||
proxy_buffers 4 128k;
|
||||
proxy_buffers 4 256k;
|
||||
proxy_busy_buffers_size 256k;
|
||||
|
||||
# cache frequent (> 10) downloads for 24 hours
|
||||
proxy_cache skynet;
|
||||
|
@ -218,7 +219,8 @@ server {
|
|||
|
||||
# if you are expecting large headers (ie. Skynet-Skyfile-Metadata), tune these values to your needs
|
||||
proxy_buffer_size 128k;
|
||||
proxy_buffers 4 128k;
|
||||
proxy_buffers 4 256k;
|
||||
proxy_busy_buffers_size 256k;
|
||||
|
||||
# cache frequent (> 10) downloads for 24 hours
|
||||
proxy_cache skynet;
|
||||
|
|
|
@ -13,4 +13,4 @@ ENV HSD_API_KEY="foo"
|
|||
|
||||
EXPOSE 3100
|
||||
ENV NODE_ENV production
|
||||
CMD [ "node", "src/index.js" ]
|
||||
CMD [ "node", "--max-http-header-size=64000", "src/index.js" ]
|
||||
|
|
Reference in New Issue