Published Question
hello guys :
i have one vps for two site .
imaging i have www.example.com , i want when user enter www.example.com this route open wordpress and in www.example.com/page1 this route open django project ,
how i configur...
Accepted Answer:
Hello,
You could use a reverse proxy to do that.
So in your server block you could add something like this:
location ~/page1(.*)$ {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For ...
2
•
•
By
coci
Nginx
Ubuntu 18.04