fix: 更新数据库配置并添加404页面

更新生产环境数据库连接配置
添加默认nginx 404错误页面
This commit is contained in:
2025-12-05 17:03:26 +08:00
parent 537a95989e
commit 93dfc4e5cd
2 changed files with 11 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>
+4 -4
View File
@@ -1,7 +1,7 @@
<?php
// config.php - 数据库配置文件
$host = 'localhost';
$username = 'root';
$password = '';
$database = 'carwash_booking';
$host = '43.163.99.193';
$username = 'carwash_600006_x';
$password = 'XxZR2SwBX1dcMKJT';
$database = 'carwash_600006_x';
?>