<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Droid Sans'; font-size:8pt; font-weight:400; font-style:normal;"><table style="-qt-table-type: root; margin-top:2px; margin-bottom:2px; margin-left:4px; margin-right:4px;"><tr><td style="border: none;">On Sunday 25 January 2009 15:45:45 Shamunda wrote:<br>
&gt; I was given a project to research if it's possible to prevent users from<br>
&gt; accessing a path directly using NGINX?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>I think, these two URLs is what you're looking for. Nginx supports internal URLs and can handle them smoothly. You will just need to change HTTP Header with your app.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>http://wiki.codemongers.com/NginxXSendfile<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>http://blog.kovyrin.net/2006/11/01/nginx-x-accel-redirect-php-rails/</p></td></tr></table></body></html>