comparison src/http/modules/ngx_http_ssl_module.c @ 599:869b6444d234 release-0.3.21

nginx-0.3.21-RELEASE import *) Feature: the ngx_http_perl_module. *) Change: the "valid_referers" directive allows the referreres without URI part.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 16 Jan 2006 14:56:53 +0000
parents 58475592100c
children 3f8a2132b93d
comparison
equal deleted inserted replaced
598:bfa12c280dec 599:869b6444d234
38 38
39 39
40 static ngx_command_t ngx_http_ssl_commands[] = { 40 static ngx_command_t ngx_http_ssl_commands[] = {
41 41
42 { ngx_string("ssl"), 42 { ngx_string("ssl"),
43 NGX_HTTP_SRV_CONF|NGX_CONF_FLAG, 43 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_FLAG,
44 ngx_conf_set_flag_slot, 44 ngx_conf_set_flag_slot,
45 NGX_HTTP_SRV_CONF_OFFSET, 45 NGX_HTTP_SRV_CONF_OFFSET,
46 offsetof(ngx_http_ssl_srv_conf_t, enable), 46 offsetof(ngx_http_ssl_srv_conf_t, enable),
47 NULL }, 47 NULL },
48 48
49 { ngx_string("ssl_certificate"), 49 { ngx_string("ssl_certificate"),
50 NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1, 50 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1,
51 ngx_conf_set_str_slot, 51 ngx_conf_set_str_slot,
52 NGX_HTTP_SRV_CONF_OFFSET, 52 NGX_HTTP_SRV_CONF_OFFSET,
53 offsetof(ngx_http_ssl_srv_conf_t, certificate), 53 offsetof(ngx_http_ssl_srv_conf_t, certificate),
54 NULL }, 54 NULL },
55 55
56 { ngx_string("ssl_certificate_key"), 56 { ngx_string("ssl_certificate_key"),
57 NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1, 57 NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1,
58 ngx_conf_set_str_slot, 58 ngx_conf_set_str_slot,
59 NGX_HTTP_SRV_CONF_OFFSET, 59 NGX_HTTP_SRV_CONF_OFFSET,
60 offsetof(ngx_http_ssl_srv_conf_t, certificate_key), 60 offsetof(ngx_http_ssl_srv_conf_t, certificate_key),
61 NULL }, 61 NULL },
62 62