O want redirect test.com to a test.net, but all URL need go to, like.
test.com/new to test.net/new
I out this code:
`server {
server_name test.com www.test.com;
rewrite ^/(.*)$ https://test.net/$1 permanent;
}`
But the redirect make a infinity URL, like this test.net/new/test.net.new/test.net/new....
4k caracter lol