We use sub uri and symlink. That's why passenger_base_uri is needed.
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,248743,248790#msg-248790
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
"root" needs to point to the /public directory of your Rails app. And I
don't think you need to use passenger_base_uri
My nginx using passenger config looks like:
server {
listen 80;
server_name XX;
root /home/deploy/apps/wtca/current/public;
pa
Here is the error.log of nginx server running on ubuntu 12.04.
2014/03/17 12:47:17 [error] 7939#0: *1 open()
"/opt/nginx/html/mkl/authentify/signin" failed (2: No such file or
directory), client: xxx.xxx.228.66, server: xxx.xxx.109.181, request: "GET
/mkl/authentify/signin HTTP/1.1", host: "x