<div dir="ltr">Thank you.<div><br></div><div>I tried. Removed $1, restarted Nginx. But it does not work. Still the same issue.</div><div><br></div><div>Jake </div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 October 2014 23:36, mex <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">iirc you donw need a $1 behind alias like in rewrite-rules<br>
<br>
<a href="http://nginx.org/en/docs/http/ngx_http_core_module.html#alias" target="_blank">http://nginx.org/en/docs/http/ngx_http_core_module.html#alias</a><br>
<br>
the following should work<br>
<br>
location /wifi {<br>
alias /var/www/owums/public; # <-- be sure to point to 'public'!<br>
<span class=""> passenger_base_uri /wifi;<br>
passenger_app_root /var/www/owums;<br>
passenger_document_root /var/www/owums/public;<br>
passenger_enabled on;<br>
passenger_app_env development;<br>
}<br>
<br>
</span>Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,254102,254110#msg-254110" target="_blank">http://forum.nginx.org/read.php?2,254102,254110#msg-254110</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>