I’m running a Gunicorn/Flask app on a Fly machine. I’ve noticed recently that, unlike other places I have deployed apps, it doesn’t seem like request URLs get fully normalised to remove any duplicate slashes (ie https://test-app.fly.dev/test//url
should be mapped to https://test-app.fly.dev/test/url
). I have noticed it working in a limited way (https://test-app.fly.dev//test/url
was mapped to https://test-app.fly.dev/test/url
), but not in all cases
As I understand it this is something typically handled by the OS or web server being used (see here). I could stick an Nginx server in front of my app, but I’m not sure if I understand why this couldn’t also be handled on Fly’s end (since when I have multiple machines there must be some web server sitting in front of my apps) – unless I’m misunderstanding something!
Any help appreciated