FastAdmin伪静态设置之nginx

FastAdmin伪静态如何设置?下面是nginx伪静态的设置,注意把奇怪的名字的路径修改成自己安装时候的JEKSecoHgV.php

location ~* (runtime|application)/{
	return 403;
}
location ^~ /JEKSecoHgV.php/ {  
	if (!-e $request_filename){
    	rewrite  ^\/JEKSecoHgV\.php(.*)$  /JEKSecoHgV.php?s=$1 last;   break;
    }
} 
location / {
	if (!-e $request_filename){
		rewrite  ^(.*)$  /index.php?s=$1  last;   break;
	}
}


微信扫描下方的二维码阅读本文

没有账号? 忘记密码?

社交账号快速登录