Lnmp如何利用conf规则从HTTPS跳转另外一个HTTPS
server {
listen 443 ssl;
server_name 163.com;
rewrite ^(.*) https://www.baidu.com$1 permanent;
ssl on;
ssl_certificate /root/163.crt;
ssl_certificate_key /root/163.key;
}
Lnmp如何利用conf规则从HTTPS跳转另外一个HTTPS
server {
listen 443 ssl;
server_name 163.com;
rewrite ^(.*) https://www.baidu.com$1 permanent;
ssl on;
ssl_certificate /root/163.crt;
ssl_certificate_key /root/163.key;
}