mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 18:06:56 +08:00
feat: 增加 openrestry 的配置
This commit is contained in:
parent
e31e8fcf6c
commit
82c0ca57e5
@ -30,6 +30,11 @@ symbolic-links=0
|
|||||||
#log-error=/var/log/mysqld.log
|
#log-error=/var/log/mysqld.log
|
||||||
pid-file=/var/run/mysqld/mysqld.pid
|
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]
|
[client]
|
||||||
socket=/var/run/mysqld/mysqld.sock
|
socket=/var/run/mysqld/mysqld.sock
|
||||||
|
|
||||||
|
17
apps/openresty/versions/1.21.4/conf/conf.d/00.default.conf
Normal file
17
apps/openresty/versions/1.21.4/conf/conf.d/00.default.conf
Normal 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;
|
||||||
|
}
|
6
apps/openresty/versions/1.21.4/root/404.html
Normal file
6
apps/openresty/versions/1.21.4/root/404.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user