Welcome! Log In Create A New Profile

Advanced

nginx and thin - delivers random page

Posted by Quarron 
nginx and thin - delivers random page
November 15, 2012 04:57AM
Hey there.

I've got a weird problem using thin with nginx.
My server is installed with nginx and shall deliver Rails-Apps using thin.
At the moment there are only 2 applications on different domains on this system.

The interesting point is, that both apps are delivered, on both domains!
It seems to be random which app is delivered for every single request.
I really get stuck with this problem.
Hoping that anyone in this forum can help me with this problem I am posting all relevant configfiles.

Attached to this post:
/etc/nginx/proxy.include (included by both hosts)
/etc/nginx/sites-availible/site1.com.vhost
/etc/nginx/sites-availible/site2.com.vhost
/etc/thin/site1.com.yml
/etc/thin/site2.com.yml
Attachments:
open | download - configfiles.zip (2.1 KB)
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 234
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready