Rebuild Nginx with Image Filter Module on Arch Linux

  • Install nginx
pacman -S nginx nginx-src
  • Configure and build nginx with image filter module
cd /usr/src/nginx/ # Configure nginx build ./configure --with-compat --with-http_image_filter_module=dynamic # Build nginx make
  • Restart nginx
systemctl restart nginx