From ec223e5312f2a4d813947fc315a3e0f568620c1b Mon Sep 17 00:00:00 2001 From: Chris Hunt Date: Tue, 28 May 2013 11:37:03 -0700 Subject: [PATCH] Fix unix socket paths in nginx upstream module Unix socket paths only require a single forward slash according to the HttpUpstreamModule documentation: http://wiki.nginx.org/HttpUpstreamModule --- config/nginx.sample.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/nginx.sample.conf b/config/nginx.sample.conf index c9ba2009782..df7a0894f9e 100644 --- a/config/nginx.sample.conf +++ b/config/nginx.sample.conf @@ -1,8 +1,8 @@ upstream discourse { - server unix:///var/www/discourse/tmp/sockets/thin.0.sock; - server unix:///var/www/discourse/tmp/sockets/thin.1.sock; - server unix:///var/www/discourse/tmp/sockets/thin.2.sock; - server unix:///var/www/discourse/tmp/sockets/thin.3.sock; + server unix:/var/www/discourse/tmp/sockets/thin.0.sock; + server unix:/var/www/discourse/tmp/sockets/thin.1.sock; + server unix:/var/www/discourse/tmp/sockets/thin.2.sock; + server unix:/var/www/discourse/tmp/sockets/thin.3.sock; } server {