limit_req and Wordpress-specific rules break wp-login.php issue #350 fix
This commit is contained in:
parent
f559111607
commit
12ee5ebf02
|
@ -60,6 +60,7 @@ export default global => {
|
||||||
config['location = /wp-login.php'] = {
|
config['location = /wp-login.php'] = {
|
||||||
limit_req: 'zone=login burst=2 nodelay',
|
limit_req: 'zone=login burst=2 nodelay',
|
||||||
include: 'nginxconfig.io/php_fastcgi.conf',
|
include: 'nginxconfig.io/php_fastcgi.conf',
|
||||||
|
fastcgi_pass: 'unix:/run/php/php7.4-fpm.sock',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue