0
|
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;
|
96
|
18
|
|
19 ngx_ssl_t ssl;
|
|
20
|
|
21 ngx_flag_t prefer_server_ciphers;
|
|
22
|
|
23 ngx_uint_t protocols;
|
|
24
|
122
|
25 time_t session_timeout;
|
|
26
|
0
|
27 ngx_str_t certificate;
|
|
28 ngx_str_t certificate_key;
|
|
29
|
28
|
30 ngx_str_t ciphers;
|
0
|
31 } ngx_http_ssl_srv_conf_t;
|
|
32
|
|
33
|
|
34 extern ngx_module_t ngx_http_ssl_module;
|
|
35
|
|
36
|
|
37 #endif /* _NGX_HTTP_SSL_H_INCLUDED_ */
|