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?
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