Open yumusb opened 1 month ago
This has been scheduled as part of the now-starting Kickstart Spike 2 milestone: https://github.com/memorysafety/river/milestone/3
There is some good discussion and community examples of working implementations shared in the pingora version of this issue. (https://github.com/cloudflare/pingora/issues/40)
Just noting that static (or semi-dynamic) file serving may be useful if we would like to use river to integration-test itself, e.g. stand up three "backend" river instances serving static pages, and one "proxy" river instance.
It would be helpful to be able to serve a static string out of the configuration without requiring a file. For example, you might want to serve something like a simple default page without having to create more files on disk
Just like this, https://docs.nginx.com/nginx/admin-guide/web-server/serving-static-content/