From 71997f4034971d651547173b8e6291fd3b349b33 Mon Sep 17 00:00:00 2001 From: ytqh Date: Wed, 28 May 2025 20:19:54 +0800 Subject: [PATCH] change nginx config --- docker/nginx/conf.d/default.conf.template | 5 ----- docker/nginx/conf.d/langbot.conf.template | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) 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;