Commit 2fe97cea authored by BAIRE Anthony's avatar BAIRE Anthony
Browse files

switch unicorn server to ipv4-only

parent 5d1c68e5
......@@ -6,7 +6,8 @@ preload_app true
# not using unix sock so that we can use the thin server interchangeably
# (did not find how to use thin with a unix socket)
#listen "unix:#{shared_path}/sockets/unicorn.sock"
listen "[::1]:3000"
#listen "[::1]:3000"
listen "127.0.0.1:3000"
timeout 90
......
upstream allgo
{
server [::1]:3000 fail_timeout=0;
server 127.0.0.1:3000 fail_timeout=0;
# server unix:/run/rails.sock fail_timeout=0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment