comparison grpc_ssl.t @ 1645:0190dd24d328

Tests: removed unnecessary http2 directives from grpc_ssl.t. They were blindly copied from grpc.t and aren't required here.
author Sergey Kandaurov <pluknet@nginx.com>
date Mon, 08 Feb 2021 19:47:34 +0300
parents dbce8fb5f5f8
children f4c79ee52d8f
comparison
equal deleted inserted replaced
1644:f89ff07b6ac0 1645:0190dd24d328
53 ssl_certificate_key localhost.key; 53 ssl_certificate_key localhost.key;
54 ssl_certificate localhost.crt; 54 ssl_certificate localhost.crt;
55 55
56 ssl_verify_client optional; 56 ssl_verify_client optional;
57 ssl_client_certificate client.crt; 57 ssl_client_certificate client.crt;
58
59 http2_max_field_size 128k;
60 http2_max_header_size 128k;
61 http2_body_preread_size 128k;
62 58
63 location / { 59 location / {
64 grpc_pass 127.0.0.1:8082; 60 grpc_pass 127.0.0.1:8082;
65 add_header X-Connection $connection; 61 add_header X-Connection $connection;
66 } 62 }
67 } 63 }
68 64
69 server { 65 server {
70 listen 127.0.0.1:8080 http2; 66 listen 127.0.0.1:8080 http2;
71 server_name localhost; 67 server_name localhost;
72
73 http2_max_field_size 128k;
74 http2_max_header_size 128k;
75 http2_body_preread_size 128k;
76 68
77 location / { 69 location / {
78 grpc_pass grpcs://127.0.0.1:8081; 70 grpc_pass grpcs://127.0.0.1:8081;
79 grpc_ssl_name localhost; 71 grpc_ssl_name localhost;
80 grpc_ssl_verify on; 72 grpc_ssl_verify on;