Skip to content

Commit 8290d60

Browse files
committed
#76 - update nginx.conf
1 parent 076164c commit 8290d60

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

test/ngx_confs/tnt_server_test.conf

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -205,16 +205,8 @@ http {
205205
tnt_pass tnt;
206206
}
207207

208-
location @pass_headers_out {
209-
tnt_pass_http_request on pass_body pass_headers_out;
210-
tnt_http_rest_methods all;
211-
tnt_method test_headers_out;
212-
tnt_pass tnt;
213-
}
214-
215208
location /headers_out {
216209
add_header "x-added-header" $request_time;
217-
post_action @pass_headers_out;
218210
tnt_method update;
219211
tnt_pass tnt;
220212
}
@@ -225,5 +217,21 @@ http {
225217
tnt_method echo_1;
226218
tnt_pass tnt;
227219
}
220+
221+
location /form {
222+
tnt_pass_http_request on pass_body;
223+
tnt_http_rest_methods all;
224+
tnt_method touch;
225+
tnt_pass tnt;
226+
}
227+
228+
location /form_large {
229+
tnt_pass_http_request_buffer_size 16000;
230+
tnt_pass_http_request on pass_body;
231+
tnt_http_rest_methods all;
232+
tnt_method touch;
233+
tnt_pass tnt;
234+
}
235+
228236
}
229237
}

0 commit comments

Comments
 (0)