in reply to Re: Using Mojolicious with NGINX Unit
in thread Using Mojolicious with NGINX Unit

Is 'sub' missing in get '/' => {text => 'Hello World'};?

edit: Never mind that, it is actually ok. Got confused there for a moment looking at a different example:

use Mojolicious::Lite; get '/' => sub { my $c = shift; $c->render(text => "OHAI!"); }; app->start;

From this topic that talks about PSGI: here