发现一个openresty或者是Nginx的bug:在stream块里面转发公网IP的请求给localhost以后,server块里无法区分 location ~ ^/$ {} 块内的请求是来自哪个域名的,这会导致请求所有其他域名的跟路径时都会按照上方规则解析
Why is this step necessary? hello.2heng.xin might not be the server where you are registered, so we need to redirect you to your home server first. Don't have an account? You can sign up here
hello.2heng.xin