Skip to content

Commit 82c0ca5

Browse files
feat: 增加 openrestry 的配置
1 parent e31e8fc commit 82c0ca5

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

apps/mysql/versions/5.7.39/conf/my.cnf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ symbolic-links=0
3030
#log-error=/var/log/mysqld.log
3131
pid-file=/var/run/mysqld/mysqld.pid
3232

33+
max_allowed_packet=64M
34+
character_set_server=utf8
35+
lower_case_table_names=1
36+
group_concat_max_len=1024000
37+
3338
[client]
3439
socket=/var/run/mysqld/mysqld.sock
3540

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
map "" $empty {
2+
default "";
3+
}
4+
5+
server
6+
{
7+
listen 80;
8+
listen 443 ssl http2;
9+
server_name _;
10+
11+
ssl_ciphers aNULL;
12+
ssl_certificate data:$empty;
13+
ssl_certificate_key data:$empty;
14+
15+
index 404.html;
16+
root /usr/share/nginx/html;
17+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<html>
2+
<head><title>404 Not Found</title></head>
3+
<body>
4+
<center><h1>404 Not Found</h1></center>
5+
<hr><center>nginx</center>
6+
</body>

0 commit comments

Comments
 (0)