We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Enchancement
Hi there,
Thanks for making this awesome project. Do you guys plan to have support for caddyserver?
caddyserver
Here is a simple config to have caddy support X-Sendfile :
handle /* { reverse_proxy localhost:8000 { @sendfile header X-Sendfile * handle_response @sendfile { rewrite {http.reverse_proxy.header.X-Sendfile} file_server } } }
The text was updated successfully, but these errors were encountered:
If caddy supports X-Sendfile then it should be good to go already.
Sorry, something went wrong.
Caddy by default doesn't have X-Sendfile directive.
X-Sendfile
From their document they use X-Accel-Redirect
X-Accel-Redirect
reverse_proxy localhost:8080 { @accel header X-Accel-Redirect * handle_response @accel { root * /path/to/private/files rewrite * {rp.header.X-Accel-Redirect} file_server } }
Shouldn't there be a section in documentation clarifying this or how to set up caddyserver?
No branches or pull requests
Hi there,
Thanks for making this awesome project. Do you guys plan to have support for
caddyserver
?Here is a simple config to have caddy support X-Sendfile :
The text was updated successfully, but these errors were encountered: