Mercurial > hg > nginx
comparison src/http/ngx_http_upstream.h @ 5660:7022564a9e0e
Upstream: proxy_ssl_name and proxy_ssl_server_name directives.
These directives allow to switch on Server Name Indication (SNI) while
connecting to upstream servers.
By default, proxy_ssl_server_name is currently off (that is, no SNI) and
proxy_ssl_name is set to a host used in the proxy_pass directive.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Fri, 18 Apr 2014 20:13:28 +0400 |
parents | 07dd5bd222ac |
children | 060c2e692b96 |
comparison
equal
deleted
inserted
replaced
5659:3fb6615bb87f | 5660:7022564a9e0e |
---|---|
193 unsigned change_buffering:1; | 193 unsigned change_buffering:1; |
194 | 194 |
195 #if (NGX_HTTP_SSL) | 195 #if (NGX_HTTP_SSL) |
196 ngx_ssl_t *ssl; | 196 ngx_ssl_t *ssl; |
197 ngx_flag_t ssl_session_reuse; | 197 ngx_flag_t ssl_session_reuse; |
198 | |
199 ngx_http_complex_value_t *ssl_name; | |
200 ngx_flag_t ssl_server_name; | |
198 #endif | 201 #endif |
199 | 202 |
200 ngx_str_t module; | 203 ngx_str_t module; |
201 } ngx_http_upstream_conf_t; | 204 } ngx_http_upstream_conf_t; |
202 | 205 |
320 ngx_http_upstream_state_t *state; | 323 ngx_http_upstream_state_t *state; |
321 | 324 |
322 ngx_str_t method; | 325 ngx_str_t method; |
323 ngx_str_t schema; | 326 ngx_str_t schema; |
324 ngx_str_t uri; | 327 ngx_str_t uri; |
328 | |
329 #if (NGX_HTTP_SSL) | |
330 ngx_str_t ssl_name; | |
331 #endif | |
325 | 332 |
326 ngx_http_cleanup_pt *cleanup; | 333 ngx_http_cleanup_pt *cleanup; |
327 | 334 |
328 unsigned store:1; | 335 unsigned store:1; |
329 unsigned cacheable:1; | 336 unsigned cacheable:1; |