sjtug / mirror-intel

Intelligent mirror redirector middleware for SJTUG
Apache License 2.0
18 stars 2 forks source link

Return 404 for non-existent files instead of 403 #72

Open PhotonQuantum opened 3 months ago

PhotonQuantum commented 3 months ago

https://github.com/sjtug/mirror-requests/issues/360

We should perform a head/S3 operation before redirecting the user to the upstream. Additionally, implementing a cache could help mitigate DDoS attacks.