comet

1. nginx crossdomain.xml
server {
      listen 843;
      server_name  localhost;

      location / {
        rewrite ^(.*)$ /crossdomain.xml;
      }

      error_page 400 /crossdomain.xml;

      location = /crossdomain.xml {
        root html;
      }
    }

你可能感兴趣的:(Comet)