Mercurial > hg > nginx-tests
comparison mail_resolver.t @ 1679:74986ebee2fd
Tests: added proxy_timeout in mail tests.
Default proxy_timeout in mail proxy is 24h, so if nginx shutdown after a test
waits for the timeout to expire for some reason, this may take a while
and hard to diagnose.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 19 May 2021 04:32:59 +0300 |
parents | e1eb3432487b |
children | 5ac6efbe5552 |
comparison
equal
deleted
inserted
replaced
1678:d0025a0dead7 | 1679:74986ebee2fd |
---|---|
43 | 43 |
44 mail { | 44 mail { |
45 auth_http http://127.0.0.1:8080/mail/auth; | 45 auth_http http://127.0.0.1:8080/mail/auth; |
46 smtp_auth none; | 46 smtp_auth none; |
47 server_name locahost; | 47 server_name locahost; |
48 | |
49 proxy_timeout 15s; | |
48 | 50 |
49 # prevent useless resend | 51 # prevent useless resend |
50 resolver_timeout 2s; | 52 resolver_timeout 2s; |
51 | 53 |
52 server { | 54 server { |