mirror of
https://github.com/ctripcorp/zeus.git
synced 2024-09-22 00:26:05 +08:00
add 404
This commit is contained in:
parent
b4ba8335f1
commit
3ce4ca3910
|
@ -141,8 +141,12 @@ public class NginxConf {
|
|||
.append("add_header Content-Type text/html;\n")
|
||||
.append("return 200 \"4008206666\";\n")
|
||||
.append("}\n")
|
||||
.append("location / {\n")
|
||||
.append("html 404.html;\n")
|
||||
.append("}\n")
|
||||
.append("}\n")
|
||||
;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue