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
This commit is contained in:
Chris Hunt 2013-05-28 11:37:03 -07:00
parent dda831fd41
commit ec223e5312
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
upstream discourse { upstream discourse {
server unix:///var/www/discourse/tmp/sockets/thin.0.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.1.sock;
server unix:///var/www/discourse/tmp/sockets/thin.2.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.3.sock;
} }
server { server {