nginx: https
2021-01-20 00:14
标签:home 计数 for www name form out pcr ddr nginx: https 标签:home 计数 for www name form out pcr ddr 原文地址:https://www.cnblogs.com/yajun2019/p/13330072.html1、编译
2、配置
log_format main ‘$remote_addr - $remote_user [$time_local] "$request" ‘
‘$status $body_bytes_sent "$http_referer" ‘
‘"$http_user_agent" "$http_x_forwarded_for" "$https"‘;
server {
listen 443 ssl;
server_name www.test.com;
ssl_certificate /home/judy/ssl/test.com.pem;
ssl_certificate_key /home/judy/ssl/test.com.key;
#ssl_session_cache shared:SSL:1m;
#ssl_session_timeout 5m;
#ssl_ciphers HIGH:!aNULL:!MD5;
#ssl_prefer_server_ciphers on;
location / {
root html;
index index.html index.htm;
}
}