Hi,
I have a wordpress website using EE and its PHP7 configuration. I tried to add a protection using http password on my wp-login page, but I can’t get it working.
My config are something like this :
location ^~ wp-login\.php$ {
auth_basic "Authorization Required";
auth_basic_user_file /var/www/.htpasswd;
try_files $uri =404;
fastcgi_pass php7;
fastcgi_index index.php;
fastcgi_read_timeout 300;
include fastcgi_params;
}
I am not sure why, but nginx seems to ignore this config. Any help guys?