Seen this question asked a few times, tried out several posted solutions without any luck.
installed phusion passenger w/ nginx, running ruby 1.9.3 under a multi-user rvm install
somewhat familiar with nginx and deployment of python apps through uwsgi — this one has me stumped
My nginx vhost config is pasted below:
server {
listen 80;
server_name EXAMPLE.COM;
access_log /home/redmine/logs/nginx_access.log;
error_log /home/redmine/logs/nginx_error.log;
client_max_body_size 10m;
keepalive_timeout 120;
root /home/redmine/redmine-repo/public;
passenger_enabled on;
}
for reference static files are being served correctly
for example when I try to visit:
http://EXAMPLE.COM/images/duplicate.png
it shows up just fine — I've set the entire /home/redmine directory to
chmod -R 0777 /home/redmine
thinking I'm missing something on the config side — any ideas what I'm missing?
Best Answer
If all the folder and file permission are set correctly, please check the configuration under nginx.conf:
You should have at least these three lines to enable redmine to work.