lnginx 添加伪静态操作说明
							2025-08-20 14:38:54
                              							 无锡沃云互联网软件开发有限公司
                                                              							
    								
    								    							
                            						
					相关系统推荐:定制化商品商城系统功能详细介绍及购买点击前往
先进入到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 
恭喜您,伪静态配置完成!
 
         
        