Welcome! Log In Create A New Profile

Advanced

ginx reverse proxy + wordpress in subdir

basti
October 10, 2012 10:50AM
hello @all

i have url test.example.com/blog
in nginx i have defined a reverse proxy

location /blog {
proxy_pass http://blog.example.com/;
proxy_redirect default;
}

all this is running very well.

in the directory I want to install wordpress.
but the link to the wordpress install is look like

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

instead of
http://test.example.com/blog/wp-admin/setup-config.php

is it possible to fix this on nginx side?

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

ginx reverse proxy + wordpress in subdir

basti October 10, 2012 10:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready