mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 07:11:11 -05:00
* fix(cloudfront): serve custom origins that name Floci itself in-process * fix(cloudfront): keep self-origin requests inside the origin path and accept the TLS AWS port Resolve the viewer's dot segments before prepending the origin path, as CloudFront does, so a path like /x/../../other-bucket/key can no longer reach another bucket. Recognize the extra listener the TLS proxy binds on floci.tls.aws-https-port as Floci's own port. * docs(cloudfront): explain why self-origin dot segments are resolved first CloudFront forwards the raw path; the guard is needed because Floci's listener resolves dot segments. Give the ignored exception in selfHost its reason.