Update Nginx Configuration
This commit is contained in:
@@ -11,9 +11,17 @@ server {
|
||||
|
||||
ssl_certificate /data/letsencrypt/fullchain.pem; # Your domain certificate path
|
||||
ssl_certificate_key /data/letsencrypt/key.pem; # Your domain's private key path
|
||||
ssl_stapling on;
|
||||
ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:SSL:10m; # This line may conflict with other configuration files. If a conflict occurs, please comment out this line
|
||||
ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3;
|
||||
|
||||
underscores_in_headers on;
|
||||
|
||||
keepalive_time 24h;
|
||||
keepalive_requests 100000;
|
||||
keepalive_timeout 120s;
|
||||
|
||||
location / {
|
||||
grpc_read_timeout 300s;
|
||||
grpc_send_timeout 300s;
|
||||
@@ -24,7 +32,7 @@ server {
|
||||
|
||||
upstream grpcservers {
|
||||
server localhost:5555;
|
||||
keepalive 1024;
|
||||
keepalive 512;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user