nginx を再起動したら以下のようなエラーが発生しました。
1 2 3 | /etc/init.d/nginx restart Restarting nginx daemon: nginx[warn]: duplicate MIME type "text/html" in /etc/nginx/nginx.conf:22 What I need to do? |
下記のページで答えてくれている人がいました。
I had that problem. Edit the /etc/nginx/nginx.conf and remove the word text/html. Don’t worry, nginx will serve html files the same way.
設定ファイルから text/html を削除しましょう。
コメント