404

# Chevereto NGINX generated rules for https://yourdomain/

# Context limits
client_max_body_size 20M;

# Disable access to sensitive files
location ~* /(app|content|lib)/.*\.(po|php|lock|sql)$ {
deny all;
}

# Image not found replacement
location ~ \.(jpe?g|png|gif|webp)$ {
log_not_found off;
error_page 404 /content/images/system/default/404.gif;
}

# CORS header (avoids font rendering issues)
location ~* /.*\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$ {
add_header Access-Control-Allow-Origin "*";
}

# Pretty URLs
location / {
index index.php;
try_files $uri $uri/ /index.php$is_args$query_string;
}

# END Chevereto NGINX rules

502

修改前:

include enable-php-72.conf;

修改后:

include enable-php-73.conf;
最后修改:2023 年 08 月 26 日
如果觉得我的文章对你有用,请随意赞赏