Scenes:
Multi-user system binds independent domain names to users
Main domain name: www.xxx.com/username
Independent domain name: www.username.com
(any)
question:
Since the multi-user system server is in China, it cannot directly resolve the user’s independent domain name
So there is a foreign host as a reverse proxy server (nginx
)
proxy.xxx.com
As an independent domain name CNAME points to
How to configure this reverse proxy server?
Thanks
It is similar to LOFTER blog. How is this achieved?
Then the domestic server first verifies that the source IP of the request is the specified IP (preventing the user from directly resolving the domain name to the domestic server), and then displays the user's site based on the Host in the request.
It is similar to the LOFTER blog. How is this achieved?