Dear readers,
I searched the web endlessly but cant seem to figure this out.
I have several customers with wordpress domains. I want to protect these directory's with Nginx on a plesk 12 machine. I thought something simple will do, but i just spent all sunday afternoon getting it to work (what else is new)
.
I thought ;
location /wp-admin/ {
allow 123.123.123.123;
deny all;
satisfy all;
}
would do the trick, but no go, nginx isnt passing it to apache by the looks of it. I tried all kinds of possible solutions but cant get it to work. It works with files though. The logfile says directory index of "/var/www/vhosts/testdomain.eu/httpdocs/wp-admin/" is forbidden. This makes sense, since its turned off.
any suggestion on how to get this to work with plesk 12 and nginx ?
Regards,
Patrick
I searched the web endlessly but cant seem to figure this out.
I have several customers with wordpress domains. I want to protect these directory's with Nginx on a plesk 12 machine. I thought something simple will do, but i just spent all sunday afternoon getting it to work (what else is new)
.
I thought ;
location /wp-admin/ {
allow 123.123.123.123;
deny all;
satisfy all;
}
would do the trick, but no go, nginx isnt passing it to apache by the looks of it. I tried all kinds of possible solutions but cant get it to work. It works with files though. The logfile says directory index of "/var/www/vhosts/testdomain.eu/httpdocs/wp-admin/" is forbidden. This makes sense, since its turned off.
any suggestion on how to get this to work with plesk 12 and nginx ?
Regards,
Patrick