Commit Graph

93 Commits

Author SHA1 Message Date
Karol Wypchlo 9b3e659ec5
lua testing and codecov v3 2022-04-06 15:14:44 +02:00
Karol Wypchło 65cb6a4c2a
include lua linter luacheck in github action (#1923) 2022-03-25 13:56:03 -04:00
Karol Wypchło 66480dd026
Merge branch 'master' into certbot 2022-03-21 17:01:05 +01:00
Karol Wypchlo c19ef307d8
clean up code and comments 2022-03-21 14:43:42 +01:00
Karol Wypchlo 12fd1d5b7d
replace caddy with certbot 2022-03-21 10:32:23 +01:00
Karol Wypchło f47bd3f9a4
Merge branch 'master' into ivo/nginx_passes_apikey 2022-03-18 15:27:36 +01:00
Karol Wypchlo 6c9f026910
return buffer values to default 2022-03-17 16:18:24 +01:00
Karol Wypchło a916cc5a93
expose Accept-Ranges header (#1872) 2022-03-17 09:29:24 +01:00
Karol Wypchlo d631aad058
move req headers to timer arguments 2022-03-15 22:43:35 +01:00
Karol Wypchlo 4f6b5fb0a8
clean up nginx skylink cache related code 2022-03-15 09:40:25 +01:00
Ivaylo Novakov 2db648b0ad
Nginx passes Skynet-Api-Key and Authorization headers at all spots where it passes the Cookie header. 2022-03-10 18:11:37 +01:00
Karol Wypchlo a743b625ff
Revert "Merge pull request #1831 from SkynetLabs/redirect-base64-skylink-to-base32"
This reverts commit e998882ca8, reversing
changes made to 85dd22a72e.
2022-03-10 09:55:24 +01:00
Karol Wypchlo 6e3f7d76d5
Revert "Merge pull request #1832 from SkynetLabs/redirect-hns-endpoint-to-hns-subdomain"
This reverts commit 1b64969461, reversing
changes made to 7da5a24c6e.
2022-03-10 09:55:09 +01:00
Karol Wypchlo 4dff19c6c7
remove internal tier 2022-03-08 04:02:01 +01:00
Karol Wypchlo 7c61d5ef9d
Merge branch 'fix-hns-domains-and-skylinks-without-args' into redirect-hns-endpoint-to-hns-subdomain 2022-03-04 20:01:01 +01:00
Karol Wypchlo dcba6a0950
fix hns domains using redirected skylink endpoint 2022-03-04 19:48:38 +01:00
Karol Wypchlo fd05cfd8c9
redirect base64 skylink to base32 subdomain 2022-03-03 22:04:55 +01:00
Karol Wypchlo 169d0a8d55
set portal domain header to server domain when accessing through server domain 2022-02-25 15:24:09 +01:00
Karol Wypchlo 9241979ca5
clean up nginx cache specific code 2022-02-23 17:40:57 +01:00
Karol Wypchlo 0bd5af87fc
report bypass instead of miss when skyd cache is enabled 2022-02-18 13:12:03 +01:00
Karol Wypchlo 8a536cf43c
use ngx.var.scheme instead of https 2022-02-16 15:09:33 +01:00
Karol Wypchlo f7f03d183a
replace api env vars with domain vars 2022-02-16 14:59:15 +01:00
Ivaylo Novakov 6371ee57e5
Update docker/nginx/conf.d/include/cors-headers
Co-authored-by: Karol Wypchło <kwypchlo@gmail.com>
2022-02-15 15:21:03 +01:00
Ivaylo Novakov 0c8fa3283b
Allow the Skynet-API-Key header.
Add a health-check command for fetching the test user's API key.
2022-02-15 14:59:19 +01:00
Karol Wypchlo b827616fab
disable nginx cache when skyd cache is enabled 2022-02-10 14:55:04 +01:00
Karol Wypchlo 4e240f2ad8
add option to limit access to subscription users only 2022-01-21 17:43:30 +01:00
Karol Wypchlo c04fd5067d
introduce portals for authenticated users only 2022-01-11 17:07:57 +01:00
Karol Wypchlo a73858e8e9
get rid of unused cache purgin code 2022-01-10 17:10:59 +01:00
Karol Wypchło 31e80e129e
Merge pull request #1519 from SkynetLabs/use-portal-modules-to-discover-services
use portal modules env to discover services in nginx
2022-01-07 13:59:50 +01:00
Karol Wypchlo 31b7090863
change var name and add description 2022-01-07 13:36:04 +01:00
Karol Wypchlo d24c677a30
use portal modules env to discover services in nginx 2022-01-07 11:53:16 +01:00
Karol Wypchlo 669f700a9e
prevent files larger than 1GB from being stored in cache 2022-01-05 16:14:13 +01:00
Karol Wypchło 76e302aa2a
Merge pull request #1478 from SkynetLabs/blake-hashing-lua
no delay blocklisting
2021-12-20 17:25:25 +01:00
Karol Wypchlo 9805ac9b2a
limit local networks 2021-12-20 14:54:42 +01:00
Karol Wypchlo 5673f44d1a
blocklist improvements 2021-12-20 13:12:56 +01:00
Ivaylo Novakov d09950f1e0
Fix the port of malware-scanner. 2021-12-20 12:52:17 +02:00
Ivaylo Novakov 412ba559fa
Expect 200s. 2021-12-14 14:38:40 +02:00
Ivaylo Novakov bf5aa247dd
Add nginx triggers that would let malware-scanner know that it needs to scan a given skylink. 2021-12-09 16:21:49 +01:00
Karol Wypchlo a4ce3c935d
implement base32 decoder 2021-11-05 13:29:33 +01:00
Karol Wypchlo d4bc9df1ce
Merge remote-tracking branch 'origin/master' into wildcard-api 2021-10-26 12:48:00 +02:00
Karol Wypchło 97b1920409
fix registry tracking method (#1299) 2021-10-19 16:59:23 +02:00
Karol Wypchlo aa99006822
Merge remote-tracking branch 'origin/master' into wildcard-api 2021-10-15 15:04:06 +02:00
Karol Wypchlo 26a3e6a81d
expose upload-concat header for tus 2021-10-05 21:08:53 +02:00
Karol Wypchlo f1346f23ad
expose skylink endpoint over external domains 2021-09-20 22:21:45 +02:00
Karol Wypchlo f802165509
/skynet/tus should handle options response 2021-09-10 17:13:06 +02:00
Karol Wypchlo 3946ad4a77
use 308 as new skyd redirect code 2021-09-07 12:56:25 +02:00
Karol Wypchlo 2cb0707fa5
allow If-None-Match 2021-08-31 16:55:18 +02:00
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