feat: 增加 openrestry 的配置

This commit is contained in:
zhengkunwang223 2023-03-14 12:44:36 +08:00
parent e31e8fcf6c
commit 82c0ca57e5
3 changed files with 28 additions and 0 deletions

View File

@ -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

View File

@ -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;
}

View File

@ -0,0 +1,6 @@
<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>