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;
}
}
文章来源地址https://www.toymoban.com/news/detail-501898.html
文章来源:https://www.toymoban.com/news/detail-501898.html
到了这里,关于基于nginx小程序业务域名校验文件配置的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!