基于nginx小程序业务域名校验文件配置

server {
        listen       80;
        #listen       443 ssl;
        server_name  tgz.binarydance.top;
        charset utf-8;

        #ssl_certificate      /usr/local/nginx/ssl/9053951_www.binarydance.top.pem;
        #ssl_certificate_key  /usr/local/nginx/ssl/9053951_www.binarydance.top.key;
        //小程序校验文件
        location /weixin.txt {
          root /opt/emio_mobile;
        }
        location /h5 {
          root /opt/emio_mobile;
          index index.html index.htm;
        }

        
    }

你可能感兴趣的:(git,github)