nginx 1.2.9 sticky module

http://blog.bbtune.com/archives/2412/nginx-exchange-header

前回 1.2.7で使っていたので sticky も追加して1.2.9で作り直す。
やり方は前回と同じ。

# nginx.spec
Version: 1.2.9
に変更
SOURCE以下に 1.2.9.tar.gzを配置

https://code.google.com/p/nginx-sticky-module/downloads/list

から
1.1をダウンロードして展開

# nginx.spec
–add-module=/path/to/headers-more-nginx-module-0.25 \
–add-module=/path/to/nginx-sticky-module-1.1 \

# デバッグ用も作るので2カ所
を追加
で、
rpmbuild -bb nginx.spec

書き込み完了: /root/rpmbuild/RPMS/x86_64/nginx-1.2.9-1.el6.ngx.x86_64.rpm
書き込み完了: /root/rpmbuild/RPMS/x86_64/nginx-debug-1.2.9-1.el6.ngx.x86_64.rpm
書き込み完了: /root/rpmbuild/RPMS/x86_64/nginx-debuginfo-1.2.9-1.el6.ngx.x86_64.rpm

#### OKなので新しく入れ替えて
uptreamで
* stickyで振り分け
* バックエンドへのkeepalive
を確認

This entry was posted on 金曜日, 1月 31st, 2014 at 10:07 PM and is filed under nginx. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Unityによるゲームを公開しております iOS/Android
https://itunes.apple.com/jp/app/lost-knight-3d-action/id900917032
https://play.google.com/store/apps/details?id=com.groundroad.runknight

各種開発支援・機能開発等小さいお仕事などもお請けしております。
unity開発支援, PHPシステム開発, javascript/html5 フロント開発, titanium mobileアプリ開発
お気軽にお問い合わせください
大崎・五反田近郊での対面でのお打ち合わせはいつでも可能です。