image-resizer icon indicating copy to clipboard operation
image-resizer copied to clipboard

'The specified key does not exist.' error when used behind Nginx.

Open conalllaverty opened this issue 9 years ago • 2 comments

Hi, I've put an instance of 'image-resizer' behind an Nginx load balancer. If the resource name has a dash in it, I get a 404.

For example: http://<NGINX_SERVER>/my-image.png does not work.

http://<NGINX_SERVER>/myimage.png will work.

Either URL works fine when I try against the application directly.

Any thoughts?

Cheers!

conalllaverty avatar Feb 01 '16 09:02 conalllaverty

The first route is your bucket. If your bucket name has a dash, it should work. Are you still dealing with this issue?

kvieira90 avatar Jun 01 '16 00:06 kvieira90

Hi @conalllaverty, can you try out our fork at https://github.com/tripviss/image-resizer and see if you still have this problem?

Feel free to open an issue over there. Let's get this fixed.

teohhanhui avatar Jun 28 '16 06:06 teohhanhui