L
L
Leatington2021-02-22 13:35:26
PHP
Leatington, 2021-02-22 13:35:26

How to remove restrictions in the latest version of nginx?

I have very frequent requests to nginx (php), the same application on Apache works fine, on nginx, after a few seconds, DDoS protection seems to work. What can limit? Config standard

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sanya misharin, 2021-02-23
@Leatington

Try to see how much the number of php-fpm processes in your configuration costs, by default there are 5. With this parameter, you also need to change a number of others, you can read more here or here
pm.max_children = 5

A
Alexander Karabanov, 2021-02-22
@karabanov

In the latest version of Nginx, as in all previous versions, there are no such restrictions.
If the application does not work as expected, it is incorrectly configured, but without seeing the config and without knowing what the goal is, it is impossible to say something specific.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question