Welcome! Log In Create A New Profile


Need advice on setting up a Reverse Proxy

Posted by cheonmu 
Need advice on setting up a Reverse Proxy
June 17, 2023 03:26PM
Hi there,

I want to use Nginx's reverse proxy for the first time to route from blog.example.com to example.com/blog.

I've read several posts, but I'm not sure I understand the concept of reverse proxy and would like some advice.

First of all, the two websites are running separately on different servers.

And I have pointed location /blog { proxy_pass: https://blog.example.com/} in the server block of example.com.

My question here is, do I need to do anything in the blog.example.com server block?

Is reverse proxy something that can be routed unilaterally from one side basically??

Thank you.

Edited 1 time(s). Last edit at 06/17/2023 03:32PM by cheonmu.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 87
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