From 7f0de6312ea49b38091b5fe6094f85fdfa1402e0 Mon Sep 17 00:00:00 2001 From: Chunyang Wang Date: Thu, 1 Dec 2016 16:57:34 +0800 Subject: [PATCH] Use absolute path for root directory --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index 367319a3..dda3d6de 100644 --- a/nginx.conf +++ b/nginx.conf @@ -17,7 +17,7 @@ http { server_name localhost; location / { - root html; + root /usr/share/nginx/html; index index.html index.htm; if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*';