2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 06:47:20 +08:00

fix: tests

This commit is contained in:
2025-09-29 04:18:56 +08:00
parent 44e127d5ba
commit 88b4d290b4

View File

@@ -1,12 +1,12 @@
server {
listen 80;
server_name localhost;
index index.php index.html index.htm;
index index.php index.html;
root /www/wwwroot/default;
# Error page configuration
# Error page
error_page 404 /404.html;
include enable-php-0.conf;
# Do not log static files
# Browser cache
location ~ .*\.(bmp|jpg|jpeg|png|gif|svg|ico|tiff|webp|avif|heif|heic|jxl)$ {
expires 30d;
access_log /dev/null;
@@ -17,7 +17,7 @@ server {
access_log /dev/null;
error_log /dev/null;
}
# Deny some sensitive directories
# Deny sensitive files
location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.env) {
return 404;
}