php - nginx wordpress proxy_pass blog to another server -



php - nginx wordpress proxy_pass blog to another server -

have 2 web servers.

main our project on nginx + php-fpm , sec wordpess same services.

in main nginx have rule that

location /blog { proxy_pass http://someiporhostname:80; }

and it's work me, if url maindomain.com/blog/index.php - not transfer sec server , remain @ main. have blog/wp-admin redirect loop. cuz it's not seek index.

i seek add together rules on location, seek index. nil helps

php wordpress nginx rewrite

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

ubuntu - Bash Script to Check That Files Are Being Created -

Php operator `break` doesn't stop while -