Version 1.9.0
Main changes
Added new options.
--hsts
Enable HSTS(HTTP Strict Transport Security).
Only available if current virtual host listens both plain HTTP and TLS on standard ports.
--to-https [<target-port>]
Redirect plain HTTP request to HTTPS TLS port.
Target port must be exists in --listen-tls of current virtual host.
If target port is omitted, the first item from --listen-tls will be used.
--header <name>:<value> ...
Set custom HTTP response header.
主要变更
添加了新的选项。
--hsts
启用HSTS(HTTP Strict Transport Security)。
仅当当前虚拟主机的纯HTTP和TLS模式都监听在标准端口上时才有效。
--to-https [<目标端口>]
将纯HTTP请求重定向到HTTPS端口。
目标端口必须存在于当前虚拟主机--listen-tls中。
如果省略目标端口,则使用--listen-tls中的第一项。
--header <名称>:<值> ...
设置自定义HTTP响应头。