Nginxのバーチャルドメインでエラー
- 2014年11月21日
- WEB開発
Nginxのバーチャルドメインを設定していてエラーが発生したので、対処法を自分メモ。
/etc/nginx/conf.d/virtual.conf に下記を追記
server { listen 80; server_name domain1.com; access_log /home/demo/public_html/domain1.com/log/access.log; error_log /home/demo/public_html/domain1.com/log/error.log; location / { root /home/demo/public_html/domain1.com/public/; index index.html index.php; } }
/etc/init.d/nginx configtest を実行
nginx you should increase server_names_hash_bucket_size 32
エラー発生..
/etc/nginx/nginx.conf のhttpディレクティブに下記を追記
<code>http { server_names_hash_bucket_size 64; ... }
検索
カレンダー
月 | 火 | 水 | 木 | 金 | 土 | 日 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
© 2025 Copyright OKESYS. All rights reserverd.