{ order cgi before respond } http://localhost:8080 { root * public # API server cgi /api/* comments/zig-out/bin/comments { env NOTIFICATION_ADDRESS=martin@mfashby.net SMTP_SERVER=mail.mfashby.net:587 SMTP_USERNAME=comments@mfashby.net SMTP_PASSWORD=foobar DATABASE_URL=postgresql://localhost/comments } # Redirects for old assets redir /10-11-21-longboard-slides.mp4 /assets/10-11-21-longboard-slides.mp4 permanent redir /apex_1.jpg /assets/apex_1.jpg permanent redir /apex_2.jpg /assets/apex_2.jpg permanent redir /bike.jpg /assets/bike.jpg permanent redir /drop-in.mp4 /assets/drop-in.mp4 permanent redir /longboard.jpg /assets/longboard.jpg permanent redir /mailu_screenshot.png /assets/mailu_screenshot.png permanent redir /reprap.jpg /assets/reprap.jpg permanent redir /skate4.mp4 /assets/skate4.mp4 permanent redir /skateboard.jpg /assets/skateboard.jpg permanent redir /unicorn1.jpg /assets/unicorn1.jpg permanent redir /unicorn2.jpg /assets/unicorn2.jpg permanent redir /unicorn3.jpg /assets/unicorn3.jpg permanent redir /unicorn.gif /assets/unicorn.gif permanent redir /unicorn_small.gif /assets/unicorn_small.gif permanent file_server }