upstream nginx-0.7.31
[nginx.git] / nginx / src / http / modules / ngx_http_ssl_module.h
1
2 /*
3  * Copyright (C) Igor Sysoev
4  */
5
6
7 #ifndef _NGX_HTTP_SSL_H_INCLUDED_
8 #define _NGX_HTTP_SSL_H_INCLUDED_
9
10
11 #include <ngx_config.h>
12 #include <ngx_core.h>
13 #include <ngx_http.h>
14
15
16 typedef struct {
17     ngx_flag_t                      enable;
18
19     ngx_ssl_t                       ssl;
20
21     ngx_flag_t                      prefer_server_ciphers;
22
23     ngx_uint_t                      protocols;
24
25     ngx_uint_t                      verify;
26     ngx_uint_t                      verify_depth;
27
28     ssize_t                         builtin_session_cache;
29
30     time_t                          session_timeout;
31
32     ngx_str_t                       certificate;
33     ngx_str_t                       certificate_key;
34     ngx_str_t                       dhparam;
35     ngx_str_t                       client_certificate;
36
37     ngx_str_t                       ciphers;
38
39     ngx_shm_zone_t                 *shm_zone;
40
41     u_char                         *file;
42     ngx_uint_t                      line;
43 } ngx_http_ssl_srv_conf_t;
44
45
46 extern ngx_module_t  ngx_http_ssl_module;
47
48
49 #endif /* _NGX_HTTP_SSL_H_INCLUDED_ */