我理解错你最开始表达的意思了,实在是有点混乱,我没细看,sorry
我感觉你80端口的这一段写的有问题
server{
listen 80;
server_name host111.com www.host111.com;
#fource ssl
rewrite ^(.*)$ https://$host$1 permanent;
location / {
# index /web/html/index.html;
proxy_pass
http://tomcat1; proxy_set_header X-Real-IP $remote_addr;
# root /web/html;
}
error_page 502 /502.html;
location /502.html{
root /static;
}
}
感觉应该这样写:
server{
listen 80;
server_name host111.com www.host111.com;
rewrite ^(.*)$ https://$host$1 permanent;
}
【 在 Lydia (lydia) 的大作中提到: 】
: 还是不行,log信息还是一样。遇到这样的问题感觉有点束手无策了,都不知道该从何入手处理了
--
修改:cybergene FROM 221.216.253.*
FROM 221.216.253.*