feat: update openresty config
This commit is contained in:
parent
e99b6e43b3
commit
e27b4e574d
|
|
@ -65,7 +65,7 @@
|
|||
</div>
|
||||
|
||||
<div class="footer">
|
||||
This website protection is powered by <a class="link" href="https://1panel.hk" target="_blank">
|
||||
This website protection is powered by <a class="link" href="https://1panel.pro" target="_blank">
|
||||
<span class="panel"> 1Panel</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
</div>
|
||||
|
||||
<div class="footer">
|
||||
This website protection is powered by <a class="link" href="https://1panel.hk" target="_blank">
|
||||
This website protection is powered by <a class="link" href="https://1panel.pro" target="_blank">
|
||||
<span class="panel"> 1Panel</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
</div>
|
||||
|
||||
<div class="footer">
|
||||
This website protection is powered by <a class="link" href="https://1panel.hk" target="_blank">
|
||||
This website protection is powered by <a class="link" href="https://1panel.pro" target="_blank">
|
||||
<span class="panel"> 1Panel</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
</div>
|
||||
|
||||
<div class="footer">
|
||||
This website protection is powered by <a class="link" href="https://1panel.hk" target="_blank">
|
||||
This website protection is powered by <a class="link" href="https://1panel.pro" target="_blank">
|
||||
<span class="panel"> 1Panel</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ body { font-family: 'Arial', sans-serif; background-color: #282c34; color: #fff;
|
|||
<p class="t1">Your request is invalid and has been denied.</p>
|
||||
</div>
|
||||
<div class="footer">
|
||||
This website protection is powered by <a class="link" href="https://1panel.hk" target="_blank">
|
||||
This website protection is powered by <a class="link" href="https://1panel.pro" target="_blank">
|
||||
<span class="panel"> 1Panel</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
</div>
|
||||
|
||||
<div class="footer">
|
||||
This website protection is powered by <a class="link" href="https://1panel.hk" target="_blank">
|
||||
This website protection is powered by <a class="link" href="https://1panel.pro" target="_blank">
|
||||
<span class="panel"> 1Panel</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -3,9 +3,12 @@ worker_processes auto;
|
|||
error_log /var/log/nginx/error.log notice;
|
||||
error_log /dev/stdout notice;
|
||||
pid /var/run/nginx.pid;
|
||||
worker_rlimit_nofile 51200;
|
||||
|
||||
events {
|
||||
worker_connections 1024;
|
||||
use epoll;
|
||||
worker_connections 5120;
|
||||
multi_accept on;
|
||||
}
|
||||
|
||||
http {
|
||||
|
|
@ -14,16 +17,19 @@ http {
|
|||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
server_tokens off;
|
||||
access_log /var/log/nginx/access.log main;
|
||||
access_log /dev/stdout main;
|
||||
sendfile on;
|
||||
|
||||
server_tokens off;
|
||||
sendfile on;
|
||||
tcp_nopush on;
|
||||
tcp_nodelay on;
|
||||
|
||||
server_names_hash_bucket_size 512;
|
||||
client_header_buffer_size 32k;
|
||||
client_max_body_size 50m;
|
||||
keepalive_timeout 60;
|
||||
keepalive_requests 100000;
|
||||
keepalive_requests 100;
|
||||
|
||||
gzip on;
|
||||
gzip_min_length 1k;
|
||||
|
|
|
|||
Loading…
Reference in New Issue