Mercurial > hg > nginx-tests
comparison mail_imap_ssl.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 | dbce8fb5f5f8 |
children | 408fe0dd3fed |
comparison
equal
deleted
inserted
replaced
1678:d0025a0dead7 | 1679:74986ebee2fd |
---|---|
44 events { | 44 events { |
45 } | 45 } |
46 | 46 |
47 mail { | 47 mail { |
48 proxy_pass_error_message on; | 48 proxy_pass_error_message on; |
49 proxy_timeout 15s; | |
49 auth_http http://127.0.0.1:8080/mail/auth; | 50 auth_http http://127.0.0.1:8080/mail/auth; |
50 auth_http_pass_client_cert on; | 51 auth_http_pass_client_cert on; |
51 | 52 |
52 ssl_certificate_key 1.example.com.key; | 53 ssl_certificate_key 1.example.com.key; |
53 ssl_certificate 1.example.com.crt; | 54 ssl_certificate 1.example.com.crt; |