nginx 大小限制
This commit is contained in:
parent
9a7e257f2c
commit
318240db25
|
@ -49,6 +49,8 @@ http {
|
|||
server {
|
||||
listen 8000 ssl;
|
||||
server_name 106.52.199.114;
|
||||
client_max_body_size 100M; # 允许最大 100MB 的请求体
|
||||
|
||||
ssl_certificate /etc/nginx/certs/gateway.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/gateway.key;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
|
@ -144,6 +146,7 @@ http {
|
|||
server {
|
||||
listen 8002 ssl;
|
||||
server_name 106.52.199.114;
|
||||
client_max_body_size 100M; # 允许最大 100MB 的请求体
|
||||
ssl_certificate /etc/nginx/certs/gateway.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/gateway.key;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
|
|
Loading…
Reference in New Issue