Ivaylo Novakov
ae524bc364
Limit downloads to 3 per IP.
2021-12-08 19:19:57 +01:00
Ivaylo Novakov
26831e7a3e
Limit downloads to 5 per IP.
2021-12-08 19:15:23 +01:00
Ivaylo Novakov
1e16caeaeb
Limit downloads to 10 per IP.
2021-12-08 19:15:00 +01:00
Ivaylo Novakov
9d8d31feff
Limit downloads to 20 per IP.
2021-12-08 19:08:18 +01:00
Matthew Sevey
7bf366db24
Add serverload endpoint ( #1410 )
...
* write usage script for cpu and free disk space tracking, testing new endpoint
* Test alias nginx path
* testing json
* fix server load json file being served by nginx
* Fix filenames
* Add changelog
* Add systemd file for serverload
* Update setup-scripts/serverload.sh
Co-authored-by: Peter-Jan Brone <peter-jan@settlemint.com>
2021-12-06 12:49:58 +01:00
PJ
341f313839
Remove comments
2021-12-02 17:28:40 +01:00
PJ
6e1af409c6
Remove commented out code
2021-12-02 17:23:37 +01:00
PJ
938c5905c5
Remove CORS settings
2021-12-02 17:07:11 +01:00
PJ
c89663b393
Add missing semi colon
2021-12-02 14:05:41 +01:00
PJ
6c99803749
Bypass CORS issue
2021-12-01 16:51:40 +01:00
PJ
25fd697d5f
Configure routes
2021-12-01 16:23:56 +01:00
PJ
63b283fc42
Update block routes
2021-12-01 12:56:25 +01:00
PJ
1fe2c3d76f
Add abuse location
2021-12-01 11:18:25 +01:00
Ivaylo Novakov
030b8b9419
Set burst to 10, parallel to 5.
2021-11-12 18:10:38 +01:00
Ivaylo Novakov
c0eb41d10d
Set burst to 2.
2021-11-11 17:17:53 +01:00
Karol Wypchlo
e0520de05e
introduce hard upload limits
2021-11-11 16:59:51 +01:00
Matthew Sevey
6a3edd6848
Drop unused requested skylink header
2021-11-08 13:13:44 -05:00
Karol Wypchło
d4eb04f702
Merge pull request #1346 from SkynetLabs/ivo/inc_body_restore
...
Increase the request body size of the /skynet/restore endpoint to 5MB.
2021-11-08 16:31:40 +01:00
Karol Wypchlo
c4e771759b
unit tests
2021-11-05 17:12:01 +01:00
Karol Wypchlo
a4ce3c935d
implement base32 decoder
2021-11-05 13:29:33 +01:00
Karol Wypchlo
878660c52a
remove siapath
2021-11-03 17:16:28 +01:00
Karol Wypchlo
d4b9146ecf
add siapath
2021-11-03 15:06:09 +01:00
Karol Wypchlo
eec5150264
fix /restore endpoint
2021-11-03 14:51:10 +01:00
Karol Wypchlo
040ea5b581
fix /restore endpoint
2021-11-03 14:50:20 +01:00
Ivaylo Novakov
7787903c06
Proxy-pass /skynet/restore to skyd.
2021-11-03 14:22:05 +01:00
Ivaylo Novakov
c34a32a3fd
Require auth.
2021-11-03 12:51:29 +01:00
Ivaylo Novakov
adff743fde
Add CORS.
2021-11-03 10:17:44 +01:00
Ivaylo Novakov
45688eeab1
Increase the request body size of the /skynet/restore endpoint to 5MB.
2021-11-03 09:57:55 +01:00
Karol Wypchlo
40d0bb0e4d
fix caching
2021-10-26 16:47:06 +02:00
Karol Wypchlo
d13a68d825
fix caching
2021-10-26 16:44:06 +02:00
Karol Wypchlo
81a1338f00
move cache to lua to minimise number of requests
2021-10-26 13:01:15 +02: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
ffb1e499b9
use skynet to load our homepage
2021-10-18 16:24:23 +01: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
a96158d5a4
add /
2021-09-20 22:28:38 +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
f6f3863736
fix tus upload limits not set
2021-09-02 10:16:41 +02:00
Karol Wypchlo
2cb0707fa5
allow If-None-Match
2021-08-31 16:55:18 +02:00
Karol Wypchlo
c5afe554b5
do not expose Skynet-Requested-Skylink
2021-08-31 16:39:42 +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
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
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