How nginx speeds up foreign websites
漂亮男人
漂亮男人 2017-05-16 17:26:35
0
2
440

I recently considered starting my own business. When building a website, due to the special domestic conditions, I decided to put the website abroad. However, the latency of foreign hosts is relatively high and not very stable. After consulting domestic cloud hosts, I learned that as long as the purchased cloud The host only needs IP and does not need to be registered, and the port is not blocked. The current thinking is as follows:
Consider pointing the domain name to a foreign country, and from the foreign country to the domestic cloud host through nginx proxy or load,
But one thing is not clear. nginx has multiple load methods. So when a user accesses, does the data processed by the nginx back-end server directly return to the client, or does nginx return the processed data to the client again?
How to write the load configuration file?
I considered CDN, but it was too expensive to use.

漂亮男人
漂亮男人

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!