search
LoginSignup
2

More than 5 years have passed since last update.

posted at

windowsのnginxでdocument root設定

今回は https://nginx.org/download/nginx-1.12.0.zip を使った。

解凍

nginx-1.12.0/conf/nginx.conf
 43         location / {
-44             root   html;
+44             root   c:/www/html;
 45             index  index.html index.htm;
 46         }

パス区切りは \ではなく/である必要があった。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
2