lnginx 添加伪静态操作说明
2026-10-27 13:41:38
无锡沃云互联网软件开发有限公司
相关系统推荐:定制化商品商城系统功能详细介绍及购买点击前往
先进入到nginx的配置文件目录
请输入以下命令
cd命令到: nginx/conf/rewrite 目录
ll 命令查看规则:

输入以下命令
cd命令到: nginx/conf/vhosts
进入到网站配置目录:
打开配置文件:

修改好伪静态调用文件
下面测试下我们配置的文件是否正确吧
输入 命令:
/alidata/server/nginx/sbin/nginx -t
看到:
nginx: the configuration file /alidata/server/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /alidata/server/nginx/conf/nginx.conf test is successful
说明伪静态配置成功。
重启 nginx服务器:
/alidata/server/nginx/sbin/nginx -s reload
恭喜您,伪静态配置完成!
沃云软件专注小程序与H5应用定制开发,核心产品包括多门店预约系统、连锁商城、会员系统、投票系统等。服务覆盖无锡及全国,提供从需求分析到上线运维的一站式解决方案