Karol Wypchlo
f01bc7ff7a
expose ETag
2021-08-31 16:01:55 +02:00
Karol Wypchlo
9ff776fdea
fix account endpoint nginx subrequests
2021-08-27 18:33:27 +02:00
Karol Wypchlo
ecb73e7498
drop caddy as proxy
2021-08-27 14:15:22 +02:00
Matthew Sevey
907925e115
Merge pull request #1105 from SkynetLabs/expose-skynet-health-endpoint
...
expose /skynet/health endpoints
2021-08-24 13:31:38 -04:00
Karol Wypchlo
3b4a6bbd58
extend timeout on health endpoint and cache result for 1 minute
2021-08-24 19:02:11 +02:00
Karol Wypchlo
999a0d85aa
expose /skynet/health endpoint
2021-08-24 16:42:33 +02:00
Karol Wypchlo
3fa01b4357
pin golang to 1.16.7
2021-08-24 15:52:49 +02:00
Karol Wypchlo
2798254988
add missing skylink headers
2021-08-16 21:17:11 +02:00
Karol Wypchło
b00d93cfa6
increase min uses and cache size ( #1060 )
...
* increase min uses and cache size
* lower the time from 14 days to 2 days
2021-08-11 11:48:15 +02:00
Karol Wypchło
a7db096fe9
expose Skynet-Proof header ( #1059 )
2021-08-10 12:12:33 +02:00
Karol Wypchlo
c59991c2e0
bump worker_connections number and auto detect worker_processes number
2021-08-09 12:14:12 +02:00
Karol Wypchlo
776be50de9
fix broken skylink v2 redirects
2021-08-06 16:52:18 +02:00
Karol Wypchlo
7304a0fc5d
increase size of the buffer to fit jwt in cache key
2021-08-05 14:51:19 +02:00
Karol Wypchło
4a9828d6fb
newline
2021-08-05 14:46:04 +02:00
Karol Wypchlo
f1bf2d75c2
use include file to skip unnecessary proxy
2021-08-05 14:34:00 +02:00
Karol Wypchło
ec60e00bf4
fix for TUS uploads timing out ( #1052 )
...
* increase timeouts
* align
* remove client_header_timeout
* temporarily increase limit
* disable proxy buffering off
* formatting
* disable proxy request bufferring
* do not use upgrade
* 6 parallel connections
* test
* test
* test
* test
* test
* test
* test
* test
* test
* make sure it all works
* make sure it all works
* limit back to 1
2021-08-05 13:44:31 +02:00
Ivaylo Novakov
bbfae662a2
Add a migration command for HSD and fix it to a given commit.
2021-08-05 13:55:57 +03:00
Karol Wypchło
30da6c4699
Proof not showing up ( #1028 )
...
* fix proof header
* fix set directive
* var mismatch
* var mismatch
* add comments
2021-08-02 16:48:04 +02:00
Karol Wypchło
c78d47209c
disable slice module ( #1025 )
2021-07-30 09:23:04 +02:00
Ivaylo Novakov
3bf35d9d22
Merge pull request #1005 from SkynetLabs/fix-os-getenv
...
os.getenv doesn't take default value in lua
2021-07-26 19:57:07 +02:00
Karol Wypchlo
a3e12327c0
update node and main branch
2021-07-26 13:46:02 +02:00
Karol Wypchlo
0278d4740d
use true instead of 1
2021-07-26 12:31:12 +02:00
Karol Wypchlo
278482ab72
os.getenv doesn't take default value in lua
2021-07-26 01:54:03 +02:00
Karol Wypchło
b31d3bf680
request skylink v2 instead of v1 ( #990 )
...
* request skylink v2 instead of v1
* skylink_v2 => skylink
2021-07-23 16:57:20 +02:00
Karol Wypchlo
7abeffe6f6
hotfix http redirect
2021-07-16 17:03:10 +02:00
Karol Wypchło
3b026b4c59
add missing new line
2021-07-09 14:45:46 +02:00
Karol Wypchlo
191d97b2c2
already contains leading slash
2021-07-09 13:59:31 +02:00
Karol Wypchlo
84d31fed00
increase timeouts on nginx locations that proxy pass internally
2021-07-09 13:58:55 +02:00
Karol Wypchło
6ae40bb6bd
Merge pull request #942 from SkynetLabs/dnslink
...
dnslink beta support
2021-07-08 17:51:23 +02:00
Karol Wypchło
6b5e09620d
Fix skylink v2 redirect ( #946 )
...
* replace skylink in location header
* missing ;
* add comments for skylink v2 resolver
2021-07-08 14:44:13 +02:00
Karol Wypchlo
c9a13cab8e
do not disable :443
2021-07-07 23:31:14 +02:00
Karol Wypchlo
ee475de13b
disable :443
2021-07-07 23:29:10 +02:00
Karol Wypchlo
e86abc3438
serve dnslink over http
2021-07-07 16:02:58 +02:00
Karol Wypchlo
1385354074
dnslink beta support
2021-07-07 15:49:45 +02:00
Karol Wypchlo
e79eaafd72
update node and rebuild website
2021-07-06 12:26:27 +02:00
Karol Wypchlo
cf64fd2107
missed return
2021-06-18 17:00:53 +02:00
Karol Wypchlo
800fc543f7
support dynamic max upload size on tus endpoint
2021-06-18 14:03:38 +02:00
Karol Wypchło
9729bf7cff
proxy_redirect typo
2021-06-16 16:50:05 +02:00
Karol Wypchlo
fc2a3b4290
expose Skynet-Server-Api header
2021-06-16 16:50:05 +02:00
Karol Wypchlo
5214d2d298
use host overwrite instead of proxy_redirect
2021-06-16 16:50:05 +02:00
Karol Wypchlo
308e37f63f
clean up failing part
2021-06-16 16:50:05 +02:00
Karol Wypchlo
4c3aa72424
use in context of location
2021-06-16 16:50:05 +02:00
Karol Wypchlo
db1a50a999
use set_by_lua instead
2021-06-16 16:50:05 +02:00
Karol Wypchlo
e463199022
use perl_set to expose env variables
2021-06-16 16:50:05 +02:00
Karol Wypchlo
cb85ed355a
use skynet server api env variable to rewrite proxy response on /tus endpoint
2021-06-16 16:50:05 +02:00
Karol Wypchlo
bfc4a6bc14
support accounts on tus uploads
2021-06-09 14:57:10 +02:00
Karol Wypchlo
d8e95d4d82
add skynet-skylink header to tus final response
2021-06-09 12:06:15 +02:00
Karol Wypchlo
909cb4916e
do not resolve if not http 200
2021-06-04 17:04:44 +02:00
Karol Wypchlo
439f4309a4
move registry tracking to separate file
2021-06-04 13:23:07 +02:00
Karol Wypchlo
3cc3685273
Merge remote-tracking branch 'origin/master' into pin-endpoint
2021-06-04 13:21:47 +02:00