|
Additiona Filetypes
|
|
07-04-2012, 09:14 PM
Post: #1
|
|||
|
|||
|
Additiona Filetypes
Would it be possible to add .dmg and .bin in
Code: location ~.*\.(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso)$ {as well? Since they are static files nginx can greatly improve its delivery! Thanks! |
|||
|
07-08-2012, 04:36 AM
Post: #2
|
|||
|
|||
|
RE: Additiona Filetypes
if you are comfortable editing the python code that generates the vhosts, you can edit /scripts/createvhosts.py and insert this modification where you see the rest of the filetypes.
then run /scripts/createvhosts.py and /etc/init.d/nginx restart this will apply that change to all of your domains |
|||
|
07-08-2012, 04:54 AM
Post: #3
|
|||
|
|||
|
RE: Additiona Filetypes
Yea I actually did do that. I was just suggesting that it might be a good idea to add that in future builds so dmg can also take advantage of nginx as well.
|
|||
|
07-08-2012, 02:30 PM
Post: #4
|
|||
|
|||
|
RE: Additiona Filetypes
For sure. :-)
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help


