Commit d888d5ea authored by Terence Lee's avatar Terence Lee

Merge pull request #2 from hone/reuseport

use nginx 1.9.1 and reuseport to get socket sharding
parents e16e383b a295cb0a
......@@ -9,7 +9,7 @@ env_dir=$3
bp_dir=$(dirname $(dirname $0))
fetch_nginx_tarball() {
local version="1.8.0"
local version="1.9.1"
local tarball_file="nginx-$version.tgz"
local stack="cedar-14"
local nginx_tarball_url="https://s3-external-1.amazonaws.com/heroku-buildpack-ruby/nginx/$stack/nginx-$version.tgz"
......
......@@ -28,7 +28,7 @@ http {
client_body_timeout 5;
server {
listen <%= port %>;
listen <%= port %> reuseport;
keepalive_timeout 5;
root <%= root %>;
<% if error_page %>
......
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