https://www.cnblogs.com/ostrich-sunshine/p/10452183.html
server {
listen 8081;
server_name http://192.168.3.50;
add_header 'Access-Control-Allow-Origin' '*';
add_header 'Access-Control-Allow-Methods' '*';
location / {
root /usr/share/nginx/html;
index index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
}