Cheveretov3.20.10破解版宝塔安装教程

新建好网站上传网站程序设置伪静态

# 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|importer)/.*\.(po|php|lock|sql|txt)$ {
   deny all;
}

# Disable log on not found images + image replacement
location ~* (jpe?g|png|gif|webp) {
  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$is_args$query_string;
}

不支持php8.0 我用的7.4

演示地址:TU.QQ1000.COM

相关文件下载地址
©下载资源版权归作者所有;本站所有资源均来源于网络,仅供学习使用,请支持正版!
© 版权声明
THE END
喜欢就支持一下吧
点赞10 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!插入图片请使用ssl
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容