米库影视7.2

演示地址:miku.luoxian.xyz
米库影视源码
链接: https://pan.baidu.com/s/1K5lGb8p5dKAiKCW8vSgzHA 提取码: 2xda
搭建环境
PHP: 7.3
Mysql: 5.6
Step1:设置nginx伪静态规则(location中的rewrite规则)
server {
listen 80;
server_name miku.luoxian.xyz;
location / {
root /miku;
index index.php index.html index.htm default.php default.htm default.html;
rewrite ^/index.html$ /index.php;
rewrite ^/app.html$ /app.php;
rewrite ^/mv.html$ /mv.php;
rewrite ^/mv_([0-9]+)_([0-9]+).html$ /mv.php?mlist=$1&m=$2;
rewrite ^/tv.html$ /tv.php;
rewrite ^/cx.html$ /cx.php;
rewrite ^/yy.html$ /yy.php;
rewrite ^/book.html$ /book.php;
rewrite ^/hall.html$ /hall.php;
rewrite ^/fuli.html$ /fuli.php;
rewrite ^/zhibo.html$ /zhibo.php;
rewrite ^/music.html$ /music.php;
rewrite ^/movie.html$ /movie.php;
rewrite ^/zongyi.html$ /zongyi.php;
rewrite ^/dongman.html$ /dongman.php;
rewrite ^/shop.html$ /shop.php;
rewrite ^/vod(.*)$ /play.php?play=$1;
rewrite ^/mvplay/(.*).html$ /mv.php?v=$1;
rewrite ^/cxplay/(.*).html$ /cxplay.php?id=$1;
rewrite ^/yplay/(.*).html$ /yplay.php?post=$1;
rewrite ^/movie_(.*)_(.*)_(.*)_(.*)_(.*)_(.*).html$ /movie.php?cat=$1&year=$2&area=$3&act=$4&rank=$5&pageno=$6;
rewrite ^/tv_(.*)_(.*)_(.*)_(.*)_(.*)_(.*).html$ /tv.php?cat=$1&year=$2&area=$3&act=$4&rank=$5&pageno=$6;
rewrite ^/dongman_(.*)_(.*)_(.*)_(.*)_(.*).html$ /dongman.php?cat=$1&year=$2&area=$3&rank=$4&pageno=$5;
rewrite ^/zongyi_(.*)_(.*)_(.*)_(.*)_(.*).html$ /zongyi.php?cat=$1&act=$2&area=$3&rank=$4&pageno=$5;
rewrite ^/gb_(.*).html$ /book.php?page=$1;
rewrite ^/cx_(.*)_([0-9]+).html$ /cx.php?cid=$1&page=$2;
rewrite ^/yy_(.*).html$ /yy.php?list=$1;
rewrite ^/star.html /star.php;
rewrite ^/mxstar_(.*)_(.*)_(.*).html /star.php?wd=$1&tab=$2&pageno=$3;
rewrite ^/seacher-(.*).html /seacher.php?wd=$1;
rewrite ^/mvseacher-(.*).html /mv.php?ac=$1;
rewrite ^/news.html$ /news.php;
rewrite ^/news_([0-9]+).html$ /news.php?page=$1;
rewrite ^/content-([0-9]+)-([0-9]+).html$ /content.php?dz=/$1/$2.shtml;
rewrite ^/shop_(.*)$ /shop.php?page=$1;
rewrite ^/dy.html$ /dy.php;
rewrite ^/hy.html$ /hy.php;
rewrite ^/top.html$ /top.php;
rewrite ^/hy_(.*)_(.*).html$ /hy.php?cid=$1&page=$2;
rewrite ^/hyplay_(.*).html$ /hyplay.php?id=$1;
}
location ~ \.php$ {
root /miku;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
Step2:上传到网站根目录解压
访问域名或服务器IP,初始化网站配置:
miku.luoxian.xyz
访问后台地址:
miku.luoxian.xyz/admin
解析接口
测试://vip.ikjiexi.top/?url=
B L $https://vip.bljiex.com/?v=
江湖$//www.jhdyw.vip/jx/?url=
黑猫$https://jx.youyitv.com/?url=
米酷$https://jx.htv009.com/?url=