[dancer-users] Dancer NGINX configutation

Dave Cross dave at dave.org.uk
Tue Mar 8 14:41:37 GMT 2016


Quoting Richard Reina <gatorreina at gmail.com>:

> I have the following nginx configuration that I believe -- or at least hope
> -- serves up my static files, like images ad videos, directly without
> invoking my dancer app. Can anyone tells me if this is the case or not, or
> how I can test to see if they are indeed being served directly by NGINX?

Before you go too far down this route, have you considered using  
Plack::Middleware::Static instead?

   https://metacpan.org/pod/Plack::Middleware::Static

Dave...




More information about the dancer-users mailing list