/ Published in: Other
Expand |
Embed | Plain Text
server{ listen 80; server_name test.localhost; location / { root /Users/vasil/test; if ($request_filename !~* ^.*?\.(jpg)|(png)|(gif)){ add_header Content-Disposition: "$request_filename"; } } }
Comments
Subscribe to comments
You need to login to post a comment.

Works with Safari: location / { root /home/static;