Commit a295cb0a authored by Terence Lee's avatar Terence Lee

use nginx 1.9.1 and reuseport to get socket sharding

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