Permalink
Browse files

Add production deployment PSGI file

  • Loading branch information...
1 parent eadab43 commit b61838307c33a0c4a163f98fca3178307dba6ed5 @hoelzro committed Dec 18, 2011
Showing with 16 additions and 0 deletions.
  1. +16 −0 production.psgi
View
@@ -0,0 +1,16 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+use lib 'lib';
+
+use Act::Dispatcher;
+use Plack::Builder;
+use Plack::App::Directory;
+
+builder {
+ enable 'Session::Cookie';
+ enable "SimpleLogger", level => "warn";
+ enable 'ReverseProxy';
+ Act::Dispatcher->to_app;
+};

0 comments on commit b618383

Please sign in to comment.