test: 测试在宝塔服务器上的配置反应

This commit is contained in:
2026-01-21 09:56:48 +08:00
parent 05b80040f6
commit 43edae2f90
3 changed files with 19 additions and 6 deletions

View File

@@ -1,9 +1,11 @@
server {
listen 80;
# 作为默认站点接管所有 Host域名/IP
listen 80 default_server;
# listen 443 ssl http2; # Enable HTTP/2
server_name localhost;
# 匹配任意域名/IPHost 不限制)
server_name _ localhost 127.0.0.1;
root /var/www/html;
index index.php index.html index.htm default.php default.htm default.html;