M
M
Mike2016-05-02 22:21:55
Nginx
Mike, 2016-05-02 22:21:55

How to move a site to a separate url (for example: /blog) using nginx?

There is an nginx 1.4.6 server. There is a domain.do host on which the main site is located. Now the task is to bring it to a separate (domain.do/blog) blog on wordpress. How to make the right setting so that all requests for this url are redirected to wordpress.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Ergil Osin, 2016-05-02
@Ernillew

location /blog {}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question