Skip to content

Commit 8e1138b

Browse files
authored
Merge pull request #7696 from erikjanwestendorp/update-api-rate-limiting
Update api rate limiting
2 parents 4ffc0f6 + b8e9343 commit 8e1138b

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

13/umbraco-cms/reference/security/api-rate-limiting.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,8 @@ public class ApiRateLimiterComposer : IComposer
255255
}
256256
}
257257
```
258-
{% endcode %}
258+
{% endcode %}
259+
260+
{% hint style="info" %}
261+
When Umbraco runs behind a WAF or reverse proxy, rate-limiting may fail if the client IP address is not forwarded correctly. Configure your proxy or WAF to send the original client IP using headers like X-Forwarded-For. This will prevent all requests appearing to come from one IP address which would cause incorrect rate-limit enforcement.
262+
{% endhint %}

16/umbraco-cms/reference/security/api-rate-limiting.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,8 @@ public class ApiRateLimiterComposer : IComposer
255255
}
256256
}
257257
```
258-
{% endcode %}
258+
{% endcode %}
259+
260+
{% hint style="info" %}
261+
When Umbraco runs behind a WAF or reverse proxy, rate-limiting may fail if the client IP address is not forwarded correctly. Configure your proxy or WAF to send the original client IP using headers like X-Forwarded-For. This will prevent all requests appearing to come from one IP address which would cause incorrect rate-limit enforcement.
262+
{% endhint %}

17/umbraco-cms/reference/security/api-rate-limiting.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,4 +255,8 @@ public class ApiRateLimiterComposer : IComposer
255255
}
256256
}
257257
```
258-
{% endcode %}
258+
{% endcode %}
259+
260+
{% hint style="info" %}
261+
When Umbraco runs behind a WAF or reverse proxy, rate-limiting may fail if the client IP address is not forwarded correctly. Configure your proxy or WAF to send the original client IP using headers like X-Forwarded-For. This will prevent all requests appearing to come from one IP address which would cause incorrect rate-limit enforcement.
262+
{% endhint %}

0 commit comments

Comments
 (0)