Skip to content

Commit

Permalink
show a shared configuration too
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 30, 2015
1 parent ec5f089 commit ce570fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Mojolicious/Guides/Cookbook.pod
Expand Up @@ -345,6 +345,8 @@ to combine multiple applications into one and deploy them together.

use Mojolicious::Lite;

app->config(hypnotoad => {listen => ['http://*:80']});

plugin Mount => {'test1.example.com' => '/home/sri/myapp1.pl'};
plugin Mount => {'test2.example.com' => '/home/sri/myapp2.pl'};

Expand Down

0 comments on commit ce570fa

Please sign in to comment.