Mercurial > hg > nginx-vendor-0-8
comparison src/http/modules/ngx_http_ssl_module.c @ 148:ea622d8acb38 NGINX_0_3_21
nginx 0.3.21
*) Feature: the ngx_http_perl_module.
*) Change: the "valid_referers" directive allows the referreres without
URI part.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 16 Jan 2006 00:00:00 +0300 |
parents | d25a1d6034f1 |
children | 73e8476f9142 |
comparison
equal
deleted
inserted
replaced
147:d1b9f90d95f6 | 148:ea622d8acb38 |
---|---|
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 |