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

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -