Hi, Akhill,
As far as I know, you will need to change the preamble of the files that will be in the cache folder. The QUIC server, until I could find, read these preamble to configure their "cache structure".
In my experiments, in order to access the QUIC server using chrome at localhost, I needed to do the following steps:
- add, at the beginning of the index.html, the string "X-Original-Url: http://localhost/index.html";
- execute chrome with the "enable-quic" and "origin-to-force-quic-on" (e.g. ./chrome --enable-quic --origin-to-force-quic-on=localhost:6121);
- execute QUIC server (e.g. ./quic_server --quic_in_memory_cache_dir=<path-to-index-folder>).
Based on this, in my opinion, you will just need to add the "X-Original-Url: http://<ip-of-amazon-server>/index.html" at the beginning of your index.html file.
If these information does not solve your problem, we can try to find other solutions.
BR,
Davison