add proxy_socket_keepalive

This commit is contained in:
杰森 2022-04-18 15:36:46 +08:00 committed by GitHub
parent fd884f8798
commit 170710465d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,6 +18,7 @@ server {
client_header_timeout 1071906480m;
keepalive_timeout 1071906480m;
proxy_socket_keepalive on;
# 在 location 后填写 /你的 ServiceName
location /你的 ServiceName {
if ($content_type !~ "application/grpc") {