Hello guys,
can someone help me to solve this old “issue”, by explaining me where I can find and edit the nginx config? I found some snippet, that could help me:
audio - nginx: how to avoid forced downloads in all wav files? - Stack Overflow
I added to my mime.types file:
audio/x-wav wav;
In my nginx config:
location ~ \.wav$ { add_header Content-Disposition "inline"; }
It would be nice to view the pdf file inside browser window itself. I guess, it must look like this …
application/pdf pdf;
location ~ \.pdf$ {
add_header Content-Disposition "inline";
}
What would be the most elegant way to realise this?
Thanks in advance!