I have nginx setup with more than one server block I would like to know that the I know that I can use it: But then I must add it to every server block, because Is there a way to set Try to try it first because I have not tested it earlier. conf file server end of the world to
max .
place ~ *. (Jpg | jpeg | png | gif | ico | css | js) $ {max exits; }
location is not allowed in
http .
end to
max for a specific mime-type or extension?
/ etc / nginx / img-cache .conf for example
location ~ *. (Jpg | jpeg | png | gif | ico | css | js) $ {maximum end; }
server {#bla bla include /etc/nginx/img-cache.conf; #bla bla}
No comments:
Post a Comment