图床程序去后门免授权版源码
一款图床程序去后门免授权版源码,喜欢就下载吧。
正文:
一款非常强大的PHP图床程序源码,支持多种语言。有丰富的后台设置选项。
外链功能可以将图片粘贴到任何论坛或博客!支持本地和批量外链上传。
不过PHP要5.4以上版本才能安装。已汉化去后门免授权版!
伪静态:
# Chevereto Nginx rewrite rules
# Make sure to place these inside your server{} block
# Disable access to .ht* files
location ~ /\.ht {
deny all;
}
# Disable access to sensitive files in app path
location ~ /(app|content|lib)/.*\.(po|php|lock|sql)$ {
deny all;
}
# Disable log on not found images + image replacement
location ~* (jpe?g|png|gif) {
log_not_found off;
error_page 404 /content/images/system/default/404.gif;
}
# Enable CORS header (needed for CDN)
location ~* \.(ttf|ttc|otf|eot|woff|woff2|css|js)$ {
add_header Access-Control-Allow-Origin “*”;
}
# Force serve upload path as static content (match your upload folder if needed)
location /images {}
# Route dynamic request to index.php
location / {
try_files $uri $uri/ /index.php?$query_string;
}
说点什么