Commit Graph

104 Commits

Author SHA1 Message Date
Ivaylo Novakov 4f93028c1a
fix 2022-03-14 17:32:53 +01:00
Ivaylo Novakov 33a61eb307
comment the new stuff, check again 2022-03-14 17:26:57 +01:00
Ivaylo Novakov b92a515126
restore the rest? 2022-03-14 17:21:15 +01:00
Ivaylo Novakov e9e63a2625
is it the proxy cache itself? 2022-03-14 17:17:35 +01:00
Ivaylo Novakov e1d9037902
proxy cache inline 2022-03-14 16:13:38 +01:00
Ivaylo Novakov c8d5abb397
single set_by_lua_block 2022-03-14 16:10:48 +01:00
Ivaylo Novakov 08c0d35a1e
nocache=1 2022-03-14 14:39:02 +01:00
Ivaylo Novakov 5eb41d7762
put back the rest of it? 2022-03-14 14:32:48 +01:00
Ivaylo Novakov d2884d3f5e
proxy-cache-download? 2022-03-14 14:29:13 +01:00
Ivaylo Novakov 5c246d8299
one step back 2022-03-14 14:24:35 +01:00
Ivaylo Novakov 65c6e37b38
go back to super simple 2022-03-14 14:21:50 +01:00
Ivaylo Novakov 0678e298e2
disable nginx cache download 2022-03-14 14:17:49 +01:00
Ivaylo Novakov 9b95c671ac
disable nginx cache download 2022-03-14 14:13:31 +01:00
Ivaylo Novakov f5ac3da694
ops 2022-03-14 12:25:49 +01:00
Ivaylo Novakov 197c05fef2
skylinkv1 2022-03-14 12:22:18 +01:00
Ivaylo Novakov c2d9a3c0ba
. 2022-03-14 12:19:25 +01:00
Ivaylo Novakov 789d179475
put everything back and remove only rate limiting 2022-03-14 12:12:54 +01:00
Karol Wypchlo a271f1e90f
foo 2022-03-11 09:17:29 +01:00
Karol Wypchlo 8ee5b56cf1
foo 2022-03-11 09:15:37 +01:00
Karol Wypchlo 0f3df03f43
foo 2022-03-11 09:14:08 +01:00
Karol Wypchlo 993ef93fb0
foo 2022-03-11 09:12:46 +01:00
Karol Wypchlo a0e908fdce
foo 2022-03-11 09:10:12 +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