mirror of
https://github.com/nginx/nginx.git
synced 2025-06-10 03:22:48 +08:00

*) Feature: the IMAP/POP3 proxy supports SSL. *) Feature: the "proxy_timeout" directive of the ngx_imap_proxy_module. *) Feature: the "userid_mark" directive. *) Feature: the $remote_user variable value is determined independently of authorization use.
31 lines
462 B
C
31 lines
462 B
C
|
|
/*
|
|
* Copyright (C) Igor Sysoev
|
|
*/
|
|
|
|
|
|
#ifndef _NGX_IMAP_SSL_H_INCLUDED_
|
|
#define _NGX_IMAP_SSL_H_INCLUDED_
|
|
|
|
|
|
#include <ngx_config.h>
|
|
#include <ngx_core.h>
|
|
#include <ngx_imap.h>
|
|
|
|
|
|
typedef struct {
|
|
ngx_flag_t enable;
|
|
ngx_str_t certificate;
|
|
ngx_str_t certificate_key;
|
|
|
|
ngx_str_t ciphers;
|
|
|
|
ngx_ssl_ctx_t *ssl_ctx;
|
|
} ngx_imap_ssl_conf_t;
|
|
|
|
|
|
extern ngx_module_t ngx_imap_ssl_module;
|
|
|
|
|
|
#endif /* _NGX_IMAP_SSL_H_INCLUDED_ */
|