nginxで静的ファイル配信
Opened this issue · 2 comments
J-ogawa commented
http://kazeburo.hatenablog.com/entry/2014/10/14/170129
$ cat /etc/nginx/nginx.conf
worker_processes 1;
events {
worker_connections 10000;
}
http {
include mime.types;
access_log off;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
etag off;
upstream app {
server unix:/dev/shm/app.sock;
}
server {
location / {
proxy_pass http://app;
}
location ~ ^/(stylesheets|images)/ {
open_file_cache max=100;
root /home/isucon/webapp/public;
}
}
}
hamadu commented
nginx関連。ベンチマーク時のアクセスログを解析する仕組み。
ボトルネック解析に。
https://gist.github.com/hamadu/aa20def4c318880339240cf7ec20d84b
konk303 commented