diff --git a/docker/nginx/conf.d/default.conf.template b/docker/nginx/conf.d/default.conf.template index af63acc3c1..2e4fe224fa 100644 --- a/docker/nginx/conf.d/default.conf.template +++ b/docker/nginx/conf.d/default.conf.template @@ -10,11 +10,6 @@ server { return 200 '8906c392d82bad461896285855d73cd8'; } - location = /WW_verify_KiDk4c0uzgf4zc8l.txt { - default_type text/plain; - return 200 'KiDk4c0uzgf4zc8l'; - } - location /console/api { proxy_pass http://api:5001; include proxy.conf; diff --git a/docker/nginx/conf.d/langbot.conf.template b/docker/nginx/conf.d/langbot.conf.template index c81a116137..37667f8674 100644 --- a/docker/nginx/conf.d/langbot.conf.template +++ b/docker/nginx/conf.d/langbot.conf.template @@ -4,6 +4,12 @@ server { listen ${NGINX_PORT}; server_name langbot.${NGINX_SERVER_NAME}; + // wecom verification + location = /WW_verify_KiDk4c0uzgf4zc8l.txt { + default_type text/plain; + return 200 'KiDk4c0uzgf4zc8l'; + } + # Main langbot service location / { proxy_pass http://host.docker.internal:5300;