<div dir="ltr">Gabor,<br><br>Thanks for the idea. I tried accessing an image from (public) images directory and it came right up with the dancer app running. Then I stoped the dancer app with "service starman stop" (as I used your tutorial <a href="http://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean">http://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean</a> when for my setup :) ) and when I refreshed the page with my dancer app stoped I got:<br><h1>502 Bad Gateway</h1><hr style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><center style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">nginx/1.6.2</center><br><div class="gmail_extra">Any idea how I can fix my nginx configuration to truly serve static files directly (without dancer)?<br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2016-03-08 8:28 GMT-06:00 Gabor Szabo <span dir="ltr"><<a href="mailto:gabor@szabgab.com" target="_blank">gabor@szabgab.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 8, 2016 at 3:45 PM, Richard Reina <span dir="ltr"><<a href="mailto:gatorreina@gmail.com" target="_blank">gatorreina@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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?<br><div></div></div></blockquote></div><br></div></span><div class="gmail_extra">Stop the Dancer application and try to load the static files directly.<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">Gabor<br></div><div class="gmail_extra"><br><br><br></div></font></span></div>
<br>_______________________________________________<br>
dancer-users mailing list<br>
<a href="mailto:dancer-users@dancer.pm">dancer-users@dancer.pm</a><br>
<a href="http://lists.preshweb.co.uk/mailman/listinfo/dancer-users" rel="noreferrer" target="_blank">http://lists.preshweb.co.uk/mailman/listinfo/dancer-users</a><br>
<br></blockquote></div><br></div></div>