diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-01-16 14:56:53 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-01-16 14:56:53 +0000 |
commit | 9bf11aa19366f45bcd10a0917034acb45f89b259 (patch) | |
tree | c7231ce937ab196c89608185e59ab544224e4da8 /src/http/modules/ngx_http_ssl_module.c | |
parent | 243edbb727c49ac25355e109a097f1ca2d9e1e44 (diff) | |
download | nginx-9bf11aa19366f45bcd10a0917034acb45f89b259.tar.gz nginx-9bf11aa19366f45bcd10a0917034acb45f89b259.zip |
nginx-0.3.21-RELEASE importrelease-0.3.21
*) Feature: the ngx_http_perl_module.
*) Change: the "valid_referers" directive allows the referreres without
URI part.
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
-rw-r--r-- | src/http/modules/ngx_http_ssl_module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c index d75b9e60d..55f7b48a7 100644 --- a/src/http/modules/ngx_http_ssl_module.c +++ b/src/http/modules/ngx_http_ssl_module.c @@ -40,21 +40,21 @@ static ngx_conf_bitmask_t ngx_http_ssl_protocols[] = { static ngx_command_t ngx_http_ssl_commands[] = { { ngx_string("ssl"), - NGX_HTTP_SRV_CONF|NGX_CONF_FLAG, + NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_FLAG, ngx_conf_set_flag_slot, NGX_HTTP_SRV_CONF_OFFSET, offsetof(ngx_http_ssl_srv_conf_t, enable), NULL }, { ngx_string("ssl_certificate"), - NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1, + NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1, ngx_conf_set_str_slot, NGX_HTTP_SRV_CONF_OFFSET, offsetof(ngx_http_ssl_srv_conf_t, certificate), NULL }, { ngx_string("ssl_certificate_key"), - NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1, + NGX_HTTP_MAIN_CONF|NGX_HTTP_SRV_CONF|NGX_CONF_TAKE1, ngx_conf_set_str_slot, NGX_HTTP_SRV_CONF_OFFSET, offsetof(ngx_http_ssl_srv_conf_t, certificate_key), |