inoryum
2
Add the following config to your mysite.com nginx server block
location /blog/ {
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://localhost:3001;
}
& you should able to visit the blog at mysite.com/blog
In which file? I’m not sure if I have any file connected to this.
inoryum
4
Hi Sorry for the late replay…
you need to have a webserver(Nginx) in order to achieve above scenario.
How is how you can install & configure nginx web server How To Install Nginx on Ubuntu 18.04 | DigitalOcean