Browse Source

Merge branch 'dev' into demo

zjcqoo 6 years ago
parent
commit
385071ef1b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      www.conf

+ 4 - 0
www.conf

@@ -18,6 +18,10 @@ location = /404.html {
   root                ../www;
 }
 
+location = / {
+  rewrite             ^ /404.html;
+}
+
 location / {
   access_log          logs/access.log log_www buffer=64k flush=1s;
   root                ../www;