automatically adding trailing slashes when serving static files from Tigris S3
I've used statics to serve static web pages out of Tigris. It works for URLs that end in a slash, but ones that don’t fail, and the logs never see them reaching my Nginx server. Am I wrong about how this works? I expected that incoming requests were first handled by Fly directly, based on my
statics
statics
setting of
tigris_bucket
tigris_bucket
,
index_document
index_document
, etc., and that if there was nothing matching in the bucket, the request would come to my Nginx server. Is that wrong?
My plan is to have Nginx redirect when it receives URLs without trailing slashes, but Nginx has to get control in order to do that.