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;
}
}
文章來源地址http://www.zghlxwxcb.cn/news/detail-501898.html
文章來源:http://www.zghlxwxcb.cn/news/detail-501898.html
到了這里,關于基于nginx小程序業(yè)務域名校驗文件配置的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!