#!/bin/bash # A really simple CGI to resolve Instagram photo share link and show original photo. # Use fcgi_param to set env QUERY_STRING. You might use fcgi.conf from php5-fpm, it will works. # License under DO WHAT FUCK YOU WANT ( DWFYW ) echo "Content-type: text/html";echo ""; echo -n ""