behnam behnam - 1 year ago 160
Linux Question

Nginx force download specific extensions

I'm using this code inside server block to force download mp3 files

location ~ /mp3folder/.+\.mp3$ {
types {

I want to specify multiple extensions like mp4, wmv, flv ... what changes should make for this?

Answer Source

You can use

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download