reverse_proxy: Use GET for proper X-Accel-Redirect support. (#321)

This commit is contained in:
Syahrial Agni Prasetya 2023-05-11 21:35:34 +07:00 committed by GitHub
parent 863c53c95e
commit 1681077f6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -684,6 +684,7 @@ reverse_proxy localhost:8080 {
handle_response @accel {
root * /path/to/private/files
rewrite * {rp.header.X-Accel-Redirect}
method * GET
file_server
}
}