VPS侦探论坛
标题:
nginx下实现200隐藏URL 404状态返回
[打印本页]
作者:
hackin
时间:
2010-7-10 21:54
标题:
nginx下实现200隐藏URL 404状态返回
server
{
listen 80;
server_name linux-service.net ;
charset gb2312;
index index.php index.html;
root /data/www/wwwroot/linux-service.net
error_page 404
=200
/
.404.jpg;
//注:上传一个404.jpg文件到linux-service.net的根目录,并改名为
.404.jpg
欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/)
Powered by Discuz! X3.4