2013-06-07から1日間の記事一覧

nginx で location をネストしても設定は子に継承されない

なんとなく、location をネストしたら、親の location に書いた設定が引き継がれると思っていたのですが、下記のように書いたところ /hoge 配下の URL を叩いても proxy_pass は効かず…。 server { listen 8000; location / { proxy_pass http://localhost:8…

netstat

いままで全然使いこなせてませんでした…。以下メモ。 -a で ESTABLISHED 以外のものも表示 -t で TCP だけ表示 -u で UDP だけ表示 -n で アドレスやポートを数値だけで表示 -n としないと localhost:webcache が 127.0.0.1:8080 のようになる -p は"管理者…

octopress

前書いてた書きかけのメモを公開 インストール方法 Octopress Setup - Octopress の通りにやる。git clone して bundle install して rake install で theme をインストールするだけ。 デプロイ準備 heroku にもデプロイ出来るらしいけど、github pages がよ…