[dancer-users] Dancer NGINX configutation
Dave Cross
dave at dave.org.uk
Tue Mar 8 16:51:17 GMT 2016
Quoting Richard Reina <gatorreina at gmail.com>:
> 2016-03-08 10:22 GMT-06:00 Dave Cross <dave at dave.org.uk>:
>
>>
>> Quoting Richard Reina <gatorreina at gmail.com>:
>>
>> I take it that I should inlcude the name of any directories such as
>>> 'images' (along with javascript & css ) in ./public that I want plack to
>>> serve directly correct?
>>>
>>
>> Yes, that's right. Sorry, I'd removed 'images' from my example, because my
>> app didn't use them.
>>
>
> Hi Dave,
>
> I tried it and the app works fine. Thanks. However, is there a way to test
> that is actually verify the files are bing served directly? It's not that I
> doubt it, just want to make sure as I will be serving some rather large
> files.
Simple approach - change the "root" directory in the plugin set-up to
one that doesn't exist. Reload and see that your images disappear.
Dave...
More information about the dancer-users
mailing list