Commit Graph

138 Commits

Author SHA1 Message Date
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 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 1385354074 dnslink beta support 2021-07-07 15:49:45 +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 4c3aa72424 use in context of location 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
Ivaylo Novakov 3ac8cf2fe9
Merge pull request #826 from SkynetLabs/clean-up-stats-endpoint
Clean up stats endpoint
2021-06-04 12:53:56 +02:00
Karol Wypchlo ed7c1f71c7 add /skynet/pin endpoint and clean up config 2021-06-04 12:33:37 +02:00
Christopher Schinnerl b35ea89ff6
Merge pull request #829 from SkynetLabs/v2-skylinks-cache
V2 skylinks cache
2021-06-04 12:29:43 +02:00
PJ bd8593039d
Do not increase proxy_connect_timeout 2021-06-04 11:58:38 +02:00
PJ 898a728f5a
Increase request timeout 2021-06-04 11:43:52 +02:00
Karol Wypchlo c84723b159 add sia-auth 2021-06-02 18:15:04 +02:00
Karol Wypchlo 2b9d469f1e fix dir variable name 2021-06-02 18:03:35 +02:00
Karol Wypchlo ece2025561 /skynet/pin endpoint 2021-06-02 17:56:35 +02:00
Karol Wypchlo 3589e2ac04 remove cache key 2021-06-01 12:57:50 +02:00
Karol Wypchlo 20b8a99f14 fix redirect 2021-06-01 12:56:11 +02:00
Karol Wypchlo f59d00e172 log cache key 2021-06-01 12:46:47 +02:00
Karol Wypchlo 9c4f9c8300 log cache key 2021-06-01 12:36:08 +02:00
Karol Wypchlo c9081e9d87 log cache key 2021-06-01 12:33:13 +02:00
Karol Wypchlo 176e5c7a9d fixed caching 2021-06-01 12:29:33 +02:00
Karol Wypchlo a2a4b6ea8f fixed != to ~= 2021-06-01 12:20:25 +02:00
Karol Wypchlo 60cb812148 support v2 caching 2021-06-01 12:17:08 +02:00
Karol Wypchło 45ce3de7c2
disable caching v2 skylinks (#827)
* disable caching v2 skylinks

* amend comment

* fix boolean switch
2021-05-31 20:27:56 +02:00
Karol Wypchlo dec29600c1 clean up stats endpoint 2021-05-31 14:44:36 +02:00
Karol Wypchlo 2db2ae60f6 adjust tus request max body size 2021-05-26 18:02:32 +02:00
Karol Wypchlo c10353f6d5 bump tus limit to 100G 2021-05-26 16:23:19 +02:00
Marcin S 9346898775
Test deploy 2021-05-20 09:39:46 -04:00
Karol Wypchlo 86225c8082 hardcode accounts ip so nginx doesn't die if accounts are not present 2021-05-13 12:25:48 +02:00
Karol Wypchlo d2694c82d3 hardcode health-check ip in nginx 2021-05-13 12:23:46 +02:00
Karol Wypchło bd6763b47c
disable api access from subdomained skapps (#719)
* disable api access from subdomained skapps

* temporary reroute from skynet-mysky to ann1 dev version

* revert dev change

* mistakenly deleted try
2021-05-11 18:32:02 +02:00
Karol Wypchlo dc47164e45 dont block on nginx level 2021-05-11 11:26:19 +02:00
Karol Wypchlo cc23a1eed6 return method not allowed 2021-05-11 11:24:18 +02:00
Karol Wypchlo 39d0bc593b return method not allowed 2021-05-11 11:19:59 +02:00
Karol Wypchlo e95dd0195d Sia-UI 2021-05-11 11:12:44 +02:00
Karol Wypchlo 0209ae7f60 new GET /skynet/metadata endpoint 2021-05-11 11:08:27 +02:00
Karol Wypchlo db2a553252 decrease cache time on /skynet/stats from 10 minutes to 1 minute 2021-05-10 16:11:12 +02:00