limit_req and Wordpress-specific rules break wp-login.php issue #350 fix

This commit is contained in:
Aman Agarwal 2022-05-23 02:34:26 +05:30
parent f559111607
commit 12ee5ebf02
1 changed files with 1 additions and 0 deletions

View File

@ -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',
}; };
} }