2010-04-01から1ヶ月間の記事一覧

[server] nginxのinitスクリプト

httpdのinitスクリプトを参考にnginxのinitスクリプトを書いた。 環境はCentOS 4.6なのでRedhat系なら使えます。 #!/bin/bash # Startup script for the Nginx Web Server # # chkconfig: - 85 15 # description: Nginx is a Light weight World Wide Web se…

[server] apache + passengerを捨ててnginx + thinにしてみた

nginx と thinの組み合わせが速いらしいので変更してみることにした。現在運用しているのは Railsアプリ x 2 Sinatraアプリ x1 Webdav (git) webdavについては別途書くとしてとりあえずrailsアプリとSinatraアプリをthinに。リバースプロキシをnginxにしてみ…