Creates named log format similar to Nginx HTTP log formats. Several variables are supported within log format:
lurk_start_time
lurk_id
lurk_pkey_id
lurk_sni
lurk_type
lurk_client_ip
lurk_err_code
log_format main '{"time":$lurk_start_time,"client_ip":"$client_ip","server_ip":"$host_ip","lurk_id":$lurk_id,"lurk_type":$lurk_type,"lurk_error":$lurk_err_code}';
Description
alibabacloud-dcdn-keyserver is an implementation aliyun CDN’s Keyless SSL Protocol.
Before building from git
When build from git, run the following command to pull submodules:
Building
Configure
vi openssl.conf
[ req ] default_bits = 2048 encrypt_key = no distinguished_name = req_distinguished_name [ req_distinguished_name ]gen crt/key
openssl req -x509 -new -config ./openssl.conf -subj /CN=CN/ -out example-keyless-server.pem -keyout example-keyless-server.key
Directives
lurk server
lurk_get_key_mode
Syntax: lurk_get_key_mode local;
Context: tcp
lurk
Syntax: lurk;
Context: tcp, server
lurk_pkey_path
Syntax: lurk_pkey_path path;
Context: tcp, server
lurk_keepalive_requests
Syntax: lurk_keepalive_requests number;
Context: tcp, server
Access log
access_log
Syntax: access_log off|path [format_name]
Context: tcp
Sets access log parameters. See
log_formatdirective for more details about formats.log_format
Syntax: log_format format_name format;
Context: tcp
Creates named log format similar to Nginx HTTP log formats. Several variables are supported within log format: