nginx偽靜態檔案

Rio520發表於2020-12-22
location / {
            root   html;
            index index.php  index.html index.htm;
			 if (!-e $request_filename) {
	        rewrite ^/index.php(.*)$ /index.php?s=$1 last;
 	        rewrite ^(.*)$ /index.php?s=$1 last;
 	        break;
        }  
        }

相關文章