Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.15.12 ]​[ nginx-1.16.0 ]​

0001 
0002 /*
0003  * Copyright (C) Igor Sysoev
0004  * Copyright (C) Nginx, Inc.
0005  */
0006 
0007 
0008 #ifndef _NGX_HTTP_SSL_H_INCLUDED_
0009 #define _NGX_HTTP_SSL_H_INCLUDED_
0010 
0011 
0012 #include <ngx_config.h>
0013 #include <ngx_core.h>
0014 #include <ngx_http.h>
0015 
0016 
0017 typedef struct {
0018     ngx_flag_t                      enable;
0019 
0020     ngx_ssl_t                       ssl;
0021 
0022     ngx_flag_t                      prefer_server_ciphers;
0023     ngx_flag_t                      early_data;
0024 
0025     ngx_uint_t                      protocols;
0026 
0027     ngx_uint_t                      verify;
0028     ngx_uint_t                      verify_depth;
0029 
0030     size_t                          buffer_size;
0031 
0032     ssize_t                         builtin_session_cache;
0033 
0034     time_t                          session_timeout;
0035 
0036     ngx_array_t                    *certificates;
0037     ngx_array_t                    *certificate_keys;
0038 
0039     ngx_array_t                    *certificate_values;
0040     ngx_array_t                    *certificate_key_values;
0041 
0042     ngx_str_t                       dhparam;
0043     ngx_str_t                       ecdh_curve;
0044     ngx_str_t                       client_certificate;
0045     ngx_str_t                       trusted_certificate;
0046     ngx_str_t                       crl;
0047 
0048     ngx_str_t                       ciphers;
0049 
0050     ngx_array_t                    *passwords;
0051 
0052     ngx_shm_zone_t                 *shm_zone;
0053 
0054     ngx_flag_t                      session_tickets;
0055     ngx_array_t                    *session_ticket_keys;
0056 
0057     ngx_flag_t                      stapling;
0058     ngx_flag_t                      stapling_verify;
0059     ngx_str_t                       stapling_file;
0060     ngx_str_t                       stapling_responder;
0061 
0062     u_char                         *file;
0063     ngx_uint_t                      line;
0064 } ngx_http_ssl_srv_conf_t;
0065 
0066 
0067 extern ngx_module_t  ngx_http_ssl_module;
0068 
0069 
0070 #endif /* _NGX_HTTP_SSL_H_INCLUDED_ */