SCENARIO:
webapp X use clodufront distributions to serve its content. It's possible to contact directly the origin server and get the content with the following steps:
- modify /etc/hosts to add <ORIGIN SERVER IP> <WEBAPP URL>
- intercept the request to <ORIGIN SERVER IP>
- change from https to http
- modify Host substituting <ORIGIN SERVER IP> with <WEB APP URL>
If I reach the server in the described way the server response doesn't send the header Via: cloudfront...
so I guess I'm talking directly to the origin server.
Is this behavior correct or should be addressed?