Answer the question
In order to leave comments, you need to log in
Why forbidden 403 nginx?
Put nginx+passenger into production. configured config:
user www-data;
error_log /var/log/nginx/error.log;
events {
worker_connections 1024;
}
http {
passenger_root /usr/local/rvm/gems/ruby-2.1.2/gems/passenger-4.0.48;
passenger_ruby /usr/local/rvm/gems/ruby-2.1.2/wrappers/ruby;
server {
listen 80;
server_name dragonfest.ru www.dragonfest.ru;
passenger_enabled on;
root /var/www/public;
}
}
Answer the question
In order to leave comments, you need to log in
Who owns /usr/local/rvm/gems/ruby-2.1.2 and subdirectories? Maybe nginx can't access ruby because he has no rights.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question