Another auth/location question - probably very simple to fix :)
mike
mike503 at gmail.com
Sat Aug 16 12:00:40 MSD 2008
On 8/16/08, Igor Sysoev <is at rambler-co.ru> wrote:
> But the better way is disable regex searches:
>
> - location /wordpress/admin {
> + location ^~ /wordpress/admin {
that breaks the php parsing inside of wp-admin... i need PHP to still
parse inside of the protected directory, i have this inside of that
block:
location ~ \.php$ {
fastcgi_pass 127.0.0.1:11000;
fastcgi_index index.php;
}
More information about the nginx
mailing list