images | audio | feed | contact



I have been successfully running Interchange 5 using a stack of Plack + Nginx in production since February, 2016 on a busy site,

Here are the relevant config snippets:


use Plack::Builder;
use Plack::App::WrapCGI;

builder {

  # restart interchange
  my $ic = `/path/to/interchange/bin/interchange -r`;
  if (!$ic) {
    print "ERROR: failed to restart interchange\n";
  else {
    print $ic . "\n";

  # Mount paths
  mount "/catalog" => Plack::App::WrapCGI->new( script => "/path/to/interchange/bin/catalog", execute => 1 )->to_app;

plackup command:

plackup -s Starman --workers=5 -p 5001 -a /path/to/app.psgi -D


proxy_pass http://localhost:5001/catalog;

posted at 2016-06-23T05:58:50 by baerg


I think what I like so much about autumn is how it displays the beauty of a full life coming to an end.

life to the fullest

posted at 2013-10-15T03:46:51 by baerg