diff --git a/actions/createStaticServer.js b/actions/createStaticServer.js index 84e3d65..4fdf58c 100644 --- a/actions/createStaticServer.js +++ b/actions/createStaticServer.js @@ -12,7 +12,7 @@ function createStaticServer(domain, outPort = 80) { "server {" + EOL + " listen " + outPort + ";" + EOL + " listen [::]:" + outPort + ";" + EOL + - " root " + npath.webRoot() + + domain + ";" + EOL + + " root " + npath.webRoot() + domain + ";" + EOL + " index index.html index.htm;" + EOL + "" + EOL + " server_name " + domain + ";" + EOL +