[NGINX] Do you need to resize images on the fly on your web se | LinuxCheatSheet
[NGINX] Do you need to resize images on the fly on your web server? Try nginx image filter With this module you will be able to resize images on the fly before serving them. For example you can use it to generate thumbnails for your site. Have a look at this small configuration example nginx.conf. You can also manipulate the image with some simple filters, like rotate or transparency. You can also take advantage of this module to create a frontend proxy that will resize images stored in another web server, for example you may have static images put into an AWS S3 bucket and use an EC2 instance with nginx to dynamically resize images (well, you can do it also with a lambda function, but that's another story).
I hope you found this useful! Share the channel with your friends: http://t.me/linuxcheatsheet Bye! G.
This channel is dedicated to broadcast linux suggestions, tricks on the command line, and black magic done with the shell. It is inspired to the (now closed) portico.org web site. The channel post wil...