Skip to content

Commit e803106

Browse files
author
th-ci
committed
feat(nginx): 增加拦截health
1 parent 2c34b82 commit e803106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nginx/conf/conf.d/track.conf.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ server {
6767
proxy_set_header Connection $connection_upgrade;
6868
}
6969

70-
location ~ ^/(pass|file|datamotor|video)/ {
70+
location ~ ^/(pass|file|datamotor|video|health)/ {
7171
proxy_pass http://track_api_server;
7272
proxy_set_header X-Real-IP $remote_addr;
7373
proxy_set_header Host $http_host;

0 commit comments

Comments
 (0)