Non-root install of Wordpress in an already running nginx site

Ian M. Evans ianevans at digitalhit.com
Fri Apr 13 02:14:26 UTC 2012


On Thu, April 12, 2012 8:20 am, Edho Arief wrote:
> Sorry, seems like location ^~ /ournewblog/ will also do the job.

Hmm...already encountered one issue:

location ^~ /ournewblog/ {
  try_files $uri /ournewblog/index.php?q=$uri;
  location ~ \.php$ {
    fastcgi_pass 127.0.0.1:10004;
  }
}

Just started the install and it duplicates the admin subdirectory links so
we get:

http://www.example.com/ournewblog/wp-admin/wp-admin/setup-config.php

Any ideas?



More information about the nginx mailing list