asoul-video
asoul-video copied to clipboard
Host validation in reverse proxy
ASOUL-video's backend is deployed in a private server which exposes a public HTTP port to the Aliyun CDN.
To prevent the attack for some reason, we should validate the host
header in the server backend. Send an error response if the host is mismatched.