jeudi 11 juillet 2019

Laravel 5.8 - Rate Limiting per IP

I use Laravel 5.8 to serve a api with the standard throttling enabled:

        'api' => [
            'throttle:60,1',
            'bindings',
        ],

I recognized that this rate limit is not applied to a specific IP. Instead it acts like a "global"-throttling on public routes.

Is there anything I overlooked or is that the expected behaviour?

If it is expected - how can I enable a rate-limit "per IP" on my routes?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire