kd2org / karadav

Lightweight NextCloud compatible WebDAV server
https://fossil.kd2.org/karadav/
GNU Affero General Public License v3.0
154 stars 13 forks source link

is it possible to add X-Accel-Redirect support #51

Closed Infixz closed 8 months ago

Infixz commented 8 months ago

i searched X-Accel-Redirect in source code and found nothing only X-SENDFILE exist. i think nignx would not do anything to X-SENDFILE header. but nowadays, most ppl using nginx and depend on some plugin from nginx like ddns stuff. so is it possible to add x-accel header in this project?

bohwaz commented 8 months ago

I don't use nginx, as most people use Apache anyway, but feel free to propose a patch. But as far as I know X-Accel-Redirect doesn't allow to serve files outside of the document root, which will be an issue here.