nginx - If there is a website with separate front-end and back-end that uses a dynamic CDN service (such as Website TV, Accelerator), how are the user's dynamic requests (login, submission) sent to the real server?
ringa_lee
ringa_lee 2017-05-16 17:14:33
0
3
598

It is said that services such as 360 Website TV and Accelerator can hide the real IP. This is a good thing for webmasters who are often attacked by DDOS.

But I just don’t understand. Is it okay if my website is separated from the front and back ends?

If the address requested in ajax is the address through nginx upstream proxy, if the static js request is /api/get/1, but this /api is actually a dynamic address of my backend, how can I initiate ajax in this way? The request is forwarded to my backend api server?

ringa_lee
ringa_lee

ringa_lee

reply all(3)
黄舟

Static resources go through CDN, other program files do not go through CDN

黄舟

Just don’t use CDN to log in to this user-related interface.

阿神

CDN-content distribution network, mainly for optimizing front-end static resource http requests, the back-end interface does not require a CDN server

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!