diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2009-09-24 14:45:28 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2009-09-24 14:45:28 +0000 |
| commit | cdaf442a2f18a01a83f60affc5c60e1ce944e896 (patch) | |
| tree | 2ae6e3fc37443c109cefe26c6b13d6f83742f457 /src/http/modules/ngx_http_ssl_module.c | |
| parent | f63a48ce7e5da6d1b536345df3c4d20f9ead43f1 (diff) | |
| download | nginx-cdaf442a2f18a01a83f60affc5c60e1ce944e896.tar.gz nginx-cdaf442a2f18a01a83f60affc5c60e1ce944e896.tar.bz2 | |
$ssl_session_id
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
| -rw-r--r-- | src/http/modules/ngx_http_ssl_module.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c index 7729b760e..cc0b932d2 100644 --- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -184,6 +184,9 @@ static ngx_http_variable_t ngx_http_ssl_vars[] = { { ngx_string("ssl_cipher"), NULL, ngx_http_ssl_static_variable, (uintptr_t) ngx_ssl_get_cipher_name, NGX_HTTP_VAR_CHANGEABLE, 0 }, + { ngx_string("ssl_session_id"), NULL, ngx_http_ssl_variable, + (uintptr_t) ngx_ssl_get_session_id, NGX_HTTP_VAR_CHANGEABLE, 0 }, + { ngx_string("ssl_client_cert"), NULL, ngx_http_ssl_variable, (uintptr_t) ngx_ssl_get_certificate, NGX_HTTP_VAR_CHANGEABLE, 0 }, |
