S
S
sandrain2014-07-04 17:29:37
Nginx
sandrain, 2014-07-04 17:29:37

Nginx image_resize - what could be wrong?

I set in config

server_name example.com;
        location /img/ {
             root   /var/www/;
             image_filter   resize  150 100;
             error_page     415   = /50x.html;
        }

Images are in /var/www/
Go to example.com/img/mypic.png
Gives 415 (Unsupported Media Type)
nginx built with --with-http_image_filter_module
What could be wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Blumfontein, 2014-09-09
@Blumfontein

Alternatively https://monosnap.com/image/iBK4XxiRygr8hWpbOaHDDeL...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question