我想将example.com所有stream量redirect到test.example.com ,我已经为此写了以下规则:
example.com
test.example.com
server { server_name example.com; # change to match your URL return 301 $scheme://test.example.com$request_uri; }
但它不工作。
PS:我已经在子域上安装了SSL证书。