P
P
panaceya2015-03-31 15:08:05
Nginx
panaceya, 2015-03-31 15:08:05

How to treat Unsupported Media Type?

Hello!
Nginx 1.6.2 is built with --with-http_image_filter_module from source on CentOS 6.6.
Uploaded 2 photos to the server. Configured rewrite rules for image_filter resize.
When requesting url/200x-/img1.jpg, everything is OK, when requesting url/200x-/img2.jpg, Unsupported Media Type crashes.
The photos are no different from each other (taken with an interval of 2 minutes and one mobile phone):


file ./*
./img2.jpg: JPEG image data, EXIF ​​standard
../img1.jpg: JPEG image data, EXIF ​​standard

Any ideas where I missed something?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
andart1988, 2015-07-24
@andart1988

Image_filter_buffer 20M helped me;

O
olamedia., 2015-03-31
@w999d

image/img?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question