|
|
@@ -23,7 +23,7 @@ server {
|
|
|
}
|
|
|
|
|
|
# 域名验证文件(WW_verify_xxx.txt / MP_verify_xxx.txt 等),转发到后端 static 目录
|
|
|
- location ~ ^/([A-Z]{2,}_verify_.*\.txt)$ {
|
|
|
+ location ~ "^/([A-Z]{2,}_verify_.*\.txt)$" {
|
|
|
proxy_pass http://${BACKEND_HOST}:8080/$1;
|
|
|
proxy_set_header Host $host;
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|