I am trying to configure the alternate file domain for my local Phabricator install. I have encountered a problem. My Phabricator, https://code.simplyinsured.com/, is configured with `security.alternate-file-domain` of https://d3vd7xwqgmo7c1.cloudfront.net/. I've configured that Cloudfront domain to forward to code.simplyinsured.com.
This should be a link to a picture of a dancing bear, however it is actually a link to a rendered 404 page: https://d3vd7xwqgmo7c1.cloudfront.net/file/data/i3glh7w6o3gu6jgyxi7d/PHID-FILE-mb3mj26stq5bvkslvazy/breakdancingbear
Why is this happening? It seems to be related to authentication, but why is Phabricator requiring authentication for these?
https://d3vd7xwqgmo7c1.cloudfront.net/res/* seems to work correctly, e.g. [[https://d3vd7xwqgmo7c1.cloudfront.net/res/defaultX/phabricator/a590b451/core.pkg.js|core.pkg.js]].
https://d3vd7xwqgmo7c1.cloudfront.net/file/* seems to always return a 404.
See P1841.