server: serve files from storage/well-known
Description
Give the server admin the possibility to add files in storage/well-known to be served by /.well-known/. Makes it possible to add Apple app site association file.
Related issues
closes #5206
Has this been tested?
- [x] 🙋 no, because I need help
Since all logic is handled by express this may not need tests?
Hello,
Why don't you prefer to add your custom directive in your nginx configuration? It seems to be very specific to your peertube instance.
Hello,
Why don't you prefer to add your custom directive in your nginx configuration? It seems to be very specific to your peertube instance.
Since we're using the nginx config from the repo to always be up to date with the latest recommended settings. To insert this config with sed/awk is a bit tricky and fragile. There's a lot of other use cases when the well-known folder is used, even though I'm not sure how many is applicable on a PT server.