[美国VPS]
求CheveretoV3版本3.20.17的Nginx伪静态 只看楼主
- # Disable access to sensitive files in app path
- location ~ /(app|content|lib|importer)/.*\.(po|php|lock|sql|txt)$ {
- deny all;
- }
- # 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;
- }
引用: YorkZhao 发表于 2022-4-1 11:04
官网文档看看?
不知道官网的那个,为啥会报错,才来求助广大的
mjj们