nginx サブドメイン設定
blog用にサブドメインを設定。
.
.
# blog - wordpress
server {
listen 80;
server_name frenzy.psychobil.ly;
location / {
root html/wordpress;
index index.html index.htm index.php;
deny 216.13.56.89;
}location ~ \.php$ {
root html/wordpress;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}server_tokens off;
}
.
.
- 作者: Clement Nedelcu,長尾高弘
- 出版社/メーカー: アスキー・メディアワークス
- 発売日: 2011/04/21
- メディア: 大型本
- 購入: 2人 クリック: 714回
- この商品を含むブログ (23件) を見る