Tag: python

A Drop-In Python Image Gallery Behind Nginx

A single-file Python Flask application that turns a directory of images into a responsive thumbnail grid with a lightbox. No database, no CMS, no build step — point it at a folder and go. Thumbnails generate once with Pillow and cache to disk. Built on the same systemd, Gunicorn, and Nginx reverse-proxy pattern covered in the Flask guide.

Serving a Python Flask App Behind Nginx

Nginx doesn't care what's on the other end of proxy_pass. A real Flask app — log monitoring, systemd service management, and permission debugging — demonstrates the pattern that works for any backend language.