Why would one configure nginx to use the following directive: "default_type application/octet-stream;"?
-
# fallback in case we can't determine a type default_type application/octet-stream; The above was taken from the gunicorn website. Why wouldn't I set a default type to text/html?
-
Answer:
Seems that as per the "fallback" comment, the intention is that "text/html" is almost certainly going to have been covered in mime.types/other config - along with other "standard" types - and that if you're getting to this point, then it's probably some generically "binary" file type that there might not be a mapping for anyway.
Igor Clark at Quora Visit the source
Related Q & A:
- Is it better to use many records in one table, or to use multiple tables?Best solution by Stack Overflow
- What framework must I use to develop mobile native application?Best solution by Stack Overflow
- Why is one of my arms so hot?Best solution by Yahoo! Answers
- Why is RoadRunner so difficult to use?Best solution by support.moates.net
- Why is it so hard to use PayPal?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.