test: 测试在宝塔服务器上的配置反应
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
# 作为默认站点接管所有 Host(域名/IP)
|
||||
listen 80 default_server;
|
||||
# listen 443 ssl http2; # Enable HTTP/2
|
||||
|
||||
server_name localhost;
|
||||
# 匹配任意域名/IP(Host 不限制)
|
||||
server_name _ localhost 127.0.0.1;
|
||||
root /var/www/html;
|
||||
index index.php index.html index.htm default.php default.htm default.html;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user