diff --git a/conf/conf.d/default.conf b/conf/conf.d/default.conf index 3ad9572..10ff1ba 100644 --- a/conf/conf.d/default.conf +++ b/conf/conf.d/default.conf @@ -20,7 +20,7 @@ server { #access_log /var/log/nginx/host.access.log main; location / { - root /usr/local/openresty/nginx/html; + root /var/www; index index.html index.htm; } @@ -30,7 +30,7 @@ server { # error_page 500 502 503 504 /50x.html; location = /50x.html { - root /usr/local/openresty/nginx/html; + root /var/www; } # proxy the PHP scripts to Apache listening on 127.0.0.1:80 diff --git a/html/index.html b/html/index.html new file mode 100644 index 0000000..82f3460 --- /dev/null +++ b/html/index.html @@ -0,0 +1,12 @@ + + +
+ + +