From 82c0ca57e5e69dc55f72bfaf08758fa8c72ef6ee Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Tue, 14 Mar 2023 12:44:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=20openrestry=20?= =?UTF-8?q?=E7=9A=84=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mysql/versions/5.7.39/conf/my.cnf | 5 +++++ .../versions/1.21.4/conf/conf.d/00.default.conf | 17 +++++++++++++++++ apps/openresty/versions/1.21.4/root/404.html | 6 ++++++ 3 files changed, 28 insertions(+) create mode 100644 apps/openresty/versions/1.21.4/conf/conf.d/00.default.conf create mode 100644 apps/openresty/versions/1.21.4/root/404.html diff --git a/apps/mysql/versions/5.7.39/conf/my.cnf b/apps/mysql/versions/5.7.39/conf/my.cnf index 24f6dd8e..9a6aa6f9 100644 --- a/apps/mysql/versions/5.7.39/conf/my.cnf +++ b/apps/mysql/versions/5.7.39/conf/my.cnf @@ -30,6 +30,11 @@ symbolic-links=0 #log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid +max_allowed_packet=64M +character_set_server=utf8 +lower_case_table_names=1 +group_concat_max_len=1024000 + [client] socket=/var/run/mysqld/mysqld.sock diff --git a/apps/openresty/versions/1.21.4/conf/conf.d/00.default.conf b/apps/openresty/versions/1.21.4/conf/conf.d/00.default.conf new file mode 100644 index 00000000..085138bb --- /dev/null +++ b/apps/openresty/versions/1.21.4/conf/conf.d/00.default.conf @@ -0,0 +1,17 @@ +map "" $empty { + default ""; +} + +server +{ + listen 80; + listen 443 ssl http2; + server_name _; + + ssl_ciphers aNULL; + ssl_certificate data:$empty; + ssl_certificate_key data:$empty; + + index 404.html; + root /usr/share/nginx/html; +} \ No newline at end of file diff --git a/apps/openresty/versions/1.21.4/root/404.html b/apps/openresty/versions/1.21.4/root/404.html new file mode 100644 index 00000000..d75ed781 --- /dev/null +++ b/apps/openresty/versions/1.21.4/root/404.html @@ -0,0 +1,6 @@ + +404 Not Found + +

404 Not Found

+
nginx
+ \ No newline at end of file