0
|
1
|
|
2 /*
|
|
3 * Copyright (C) Igor Sysoev
|
660
|
4 * Copyright (C) Nginx, Inc.
|
0
|
5 */
|
|
6
|
|
7
|
|
8 #ifndef _NGX_HTTP_SSL_H_INCLUDED_
|
|
9 #define _NGX_HTTP_SSL_H_INCLUDED_
|
|
10
|
|
11
|
|
12 #include <ngx_config.h>
|
|
13 #include <ngx_core.h>
|
|
14 #include <ngx_http.h>
|
|
15
|
|
16
|
|
17 typedef struct {
|
272
|
18 ngx_flag_t enable;
|
96
|
19
|
272
|
20 ngx_ssl_t ssl;
|
96
|
21
|
272
|
22 ngx_flag_t prefer_server_ciphers;
|
96
|
23
|
272
|
24 ngx_uint_t protocols;
|
|
25
|
390
|
26 ngx_uint_t verify;
|
|
27 ngx_uint_t verify_depth;
|
96
|
28
|
272
|
29 ssize_t builtin_session_cache;
|
196
|
30
|
272
|
31 time_t session_timeout;
|
122
|
32
|
272
|
33 ngx_str_t certificate;
|
|
34 ngx_str_t certificate_key;
|
380
|
35 ngx_str_t dhparam;
|
632
|
36 ngx_str_t ecdh_curve;
|
272
|
37 ngx_str_t client_certificate;
|
688
|
38 ngx_str_t trusted_certificate;
|
510
|
39 ngx_str_t crl;
|
0
|
40
|
272
|
41 ngx_str_t ciphers;
|
|
42
|
|
43 ngx_shm_zone_t *shm_zone;
|
404
|
44
|
688
|
45 ngx_flag_t stapling;
|
|
46 ngx_flag_t stapling_verify;
|
|
47 ngx_str_t stapling_file;
|
|
48 ngx_str_t stapling_responder;
|
|
49
|
404
|
50 u_char *file;
|
|
51 ngx_uint_t line;
|
0
|
52 } ngx_http_ssl_srv_conf_t;
|
|
53
|
|
54
|
|
55 extern ngx_module_t ngx_http_ssl_module;
|
|
56
|
|
57
|
|
58 #endif /* _NGX_HTTP_SSL_H_INCLUDED_ */
|