PlayTube是一套多用户视频上传在线播放视频网站源码,使用这个程序可以轻松创建一个视频兴趣圈,是创建自己的视频共享网站的最佳程序!
伪静态规则可用查看本站之前发布的1.9版本文章中的规则,也可用尝试自己使用官方的伪静态。
经多用户反馈说刷新加载很慢的问题,本站将一个外部资源本地化了,初步解决加载特慢的问题,还有大部分资源都是在国外,如果需要本地化请自行解决。
本站提供体验网址:http://playtube.aik.cool
FFmpeg按照请参考
更新日志
v2.1.4
- [修复]youplay 主题中的维护模式页面
- [修复]使用 ffmpeg 上传显示“未定义”
- [修复]系统在实时通讯中将用户添加为 CC
- [修复] youplay 主题中的退款政策标题
- [修复] 元描述中显示的 HTML 代码
- [修复] 重要的安全 XSS 漏洞利用
- [修复]其他小错误
v2.0.2 (2021/03/28)
- [添加]维护模式到Admin -> Settings -> General Configuration
- [添加]LinkedIn、Vkontakte、Instagram、QQ、微信、Discord 和 Mailru 社交登录
- [添加]退款政策页面到Admin Panel -> Pages -> Manage Pages
- [添加]管理面板的 HTML 编辑器-> 页面 -> 管理页面
- [添加]常见问题页面到管理面板 -> 页面 -> 管理常见问题
- [修复]youplay 主题的订阅计数
- [修复]在管理面板中上传最大尺寸
- [修复]管理面板中的英语错误
- [更新]两个主题的博客设计
预览图
ninxg伪静态
这个伪静态是我根据我出现的情况修改过的,你们自己试试,不行就用官方的那个。
location / {
if (!-e $request_filename){
rewrite ^/$ /index.php?link1=home;
}
if (!-e $request_filename){
rewrite ^/aj/([^/.]+)/?$ /ajax.php?type=$1&first=$2;
}
rewrite ^/@([^/]+)(/|)$ /index.php?link1=timeline&id=$1;
if (!-e $request_filename){
rewrite ^/([^/]+)(/|)$ /index.php?link1=$1;
}
}
location /reset {
rewrite ^/reset-password/([^/]+)(/|)$ /index.php?link1=reset-password&code=$1;
}
location /confirm {
rewrite ^/confirm/(.*)/(.*)$ /index.php?link1=confirm&code=$1&email=$2;
}
location = /two_factor_login {
rewrite ^(.*)$ /index.php?link1=two_factor_login;
}
location = /two_factor_submit {
rewrite ^(.*)$ /index.php?link1=two_factor_submit;
}
location /v {
rewrite ^/v/(.*)$ /index.php?v=$1;
}
location /api {
rewrite ^/api/v(([0-9])([.][0-9]+))(/|)$ /api.php?v=$1;
}
location /admin {
rewrite ^/admin-cp$ /admincp.php;
rewrite ^/admin-cp/(.*)$ /admincp.php?page=$1;
}
location /admin-cdn/ {
alias /admin-panel/;
}
location /videos {
rewrite ^/videos/category/(.*)/rss(/|)$ /index.php?link1=videos&page=category&id=$1&feed=rss;
rewrite ^/videos/category/(.*)/(.*)$ /index.php?link1=videos&page=category&id=$1&sub_id=$2;
rewrite ^/videos/category/(.*)$ /index.php?link1=videos&page=category&id=$1;
rewrite ^/videos/(.*)/rss(/|)$ /index.php?link1=videos&page=$1&feed=rss;
rewrite ^/videos/(.*)$ /index.php?link1=videos&page=$1;
}
location /articles {
rewrite ^/articles(/|)$ /index.php?link1=articles;
rewrite ^/articles/category/(.*)(/|)$ /index.php?link1=articles&category_id=$1;
rewrite ^/articles/read/(.*)(/|)$ /index.php?link1=read&id=$1;
}
location /aj {
rewrite ^/aj/([^/.]+)/?$ /ajax.php?type=$1&first=$2 last;
rewrite ^/aj/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2;
rewrite ^/aj/([^/.]+)/([^/.]+)/([^/.]+)/?$ /ajax.php?type=$1&first=$2&second=$3;
}
location /edit {
rewrite ^/edit-video/(.*)?$ /index.php?link1=edit-video&id=$1;
}
location /video_text {
rewrite ^/video_text/(.*)?$ /index.php?link1=video_text&id=$1;
}
location /watch {
rewrite ^/watch/([^/]+)(/|)?$ /index.php?link1=watch&id=$1;
rewrite ^/watch/([^/]+)/list/([^/]+)(/|)?$ /index.php?link1=watch&id=$1&list=$2;
}
location /embed {
rewrite ^/embed/(.*)?$ /index.php?link1=embed&id=$1;
}
location /resend {
rewrite ^/resend/(.*)/(.*)?$ /index.php?link1=resend&id=$1&u_id=$2;
}
location /redirect {
rewrite ^/redirect/(.*)?$ /index.php?link1=redirect&id=$1;
}
location /settings {
rewrite ^/settings/(.*)/(.*)$ /index.php?link1=settings&page=$1&user=$2;
rewrite ^/settings/(.*)$ /index.php?link1=settings&page=$1;
}
location /terms {
rewrite ^/terms/([^/]+)(/|)$ /index.php?link1=terms&type=$1;
}
location /go_pro {
rewrite ^/go_pro(/|)$ /index.php?link1=go_pro;
}
location /ads {
rewrite ^/ads(/|)$ /index.php?link1=ads;
rewrite ^/ads/create(/|)$ /index.php?link1=create_ads;
rewrite ^/ads/edit/(d+)(/|)$ /index.php?link1=edit_ads&id=$1;
rewrite ^/ads/analytics/(d+)(/|)$ /index.php?link1=ads_analytics&id=$1;
}
location /contact {
rewrite ^/contact-us(/|)$ /index.php?link1=contact;
}
location /messages {
rewrite ^/messages/(.*)$ /index.php?link1=messages&id=$1;
}
location /view_analytics {
rewrite ^/view_analytics/(.*)$ /index.php?link1=view_analytics&id=$1;
}
location /video_studio {
rewrite ^/video_studio/(.*)$ /index.php?link1=video_studio;
}
location = /comments {
rewrite ^(.*)$ /index.php?link1=comments;
}
location = /dashboard {
rewrite ^(.*)$ /index.php?link1=dashboard;
}
location = /popular_channels {
rewrite ^(.*)$ /index.php?link1=popular_channels;
}
location = /create_article {
rewrite ^(.*)$ /index.php?link1=create_article;
}
location = /my_articles {
rewrite ^(.*)$ /index.php?link1=my_articles;
}
location /edit_articles {
rewrite ^/edit_articles/(.*)?$ /index.php?link1=edit_articles&id=$1;
}
location = /age_block {
rewrite ^(.*)$ /index.php?link1=age_block;
}
location /site {
rewrite ^/site-pages/(.*)$ /index.php?link1=site-pages&page_name=$1;
}
location /post {
rewrite ^/post/(.*)(/|)$ /index.php?link1=post&id=$1;
}
location /edit_activity {
rewrite ^/edit_activity/(.*)(/|)$ /index.php?link1=edit_activity&id=$1;
}
感谢您的来访,获取更多精彩文章请收藏本站。
© 版权声明
THE END
- 最新
- 最热
只看作者