qgis / QGIS-Django

Django project for QGIS related activities such as plugin repository
http://qgis.org
GNU General Public License v2.0
86 stars 59 forks source link

Implement rate limit in nginx configuration #413

Closed Xpirix closed 1 week ago

Xpirix commented 1 month ago

This is for #402 according to https://github.com/qgis/QGIS-Django/issues/402#issuecomment-2136054622.

Change summary

timlinux commented 1 month ago

Is it 10 per second or 10 per minute @Xpirix ?

Xpirix commented 1 month ago

@timlinux This PR proposes a rate limit of 10 requests per second for Nginx. This is for all requests including downloads. The rate limit of 10 per minute is for the download only with the human validation as proposed in #405 (It also suggests 10 requests per second for Nginx).