A
A
Andrey Baranov2011-11-04 13:22:16
ruby
Andrey Baranov, 2011-11-04 13:22:16

ruby passanger nginx

Little experience with nginx, and no experience with ruby.

It seems like everything should work, but nginx writes in the error.log: “cache: [GET /] miss”
and the browser displays an empty page with status 200.

settings: Tell me which way to dig

server {
listen :80;
server_name example.ru;
root /home/www/public;
passenger_enabled on;
rails_spawn_method smart;
rails_env production;
}


Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
int03e, 2011-11-04
@int03e

"listen :80;" not "listen 80;"?

R
Renat Ibragimov, 2011-11-04
@MpaK999

Is the cache not enabled in production?

P
philpirj, 2011-11-04
@philpirj

Isn't it the same problem?
The way out is to roll back the nginx version to 1.0.x and sit and wait for the amendment, work is underway.

A
Andrey, 2011-11-05
@AndreyMorozov

And if so:
server {
listen 80;
server_name example.ru www.example.ru;
location / {
root /home/www/example.ru/public;
passenger_enabled on;
rails_spawn_method smart;
rails_env production;
}
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question