Ensure the main login route is rate-limited
This commit is contained in:
+1
-1
@@ -214,7 +214,7 @@ server {
|
||||
client_max_body_size 1m;
|
||||
}
|
||||
|
||||
location ~ ^/api/v1/(developer|session)/login$ {
|
||||
location ~ ^/api/v1/cloudron/login$ {
|
||||
proxy_pass http://127.0.0.1:3000;
|
||||
client_max_body_size 1m;
|
||||
limit_req zone=admin_login burst=5;
|
||||
|
||||
Reference in New Issue
Block a user