Nginx 模拟 302 跳转

server
{
    listen 40002;
    server_name videocms302;
    charset  utf-8;
    
    rewrite ^/(.*)$ http://111.111.111.111:40000/$1 redirect;
}