LoginSignup
1
2

More than 5 years have passed since last update.

windowsのnginxでdocument root設定

Posted at

今回は 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         }

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

1
2
0

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
  3. You can use dark theme
What you can do with signing up
1
2