Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Static File Server #35

Closed
yumusb opened this issue May 21, 2024 · 5 comments
Closed

Feature Request: Static File Server #35

yumusb opened this issue May 21, 2024 · 5 comments

Comments

@yumusb
Copy link

yumusb commented May 21, 2024

Just like this, https://docs.nginx.com/nginx/admin-guide/web-server/serving-static-content/

@jamesmunns jamesmunns added this to the Kickstart Spike 2 milestone May 24, 2024
@jamesmunns
Copy link
Collaborator

This has been scheduled as part of the now-starting Kickstart Spike 2 milestone: https://github.com/memorysafety/river/milestone/3

@drcaramelsyrup
Copy link
Collaborator

There is some good discussion and community examples of working implementations shared in the pingora version of this issue. (cloudflare/pingora#40)

@jamesmunns
Copy link
Collaborator

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.

@mcpherrinm
Copy link

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

@jamesmunns
Copy link
Collaborator

This was implemented (initially at least) by #48, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants