Ginx reverse proxy + wordpress in subdir

hello @all

i have url
in nginx i have defined a reverse proxy

location /blog {
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

instead of

is it possible to fix this on nginx side?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs