change nginx config

pull/21891/head
ytqh 12 months ago
parent fce629c201
commit 71997f4034

@ -10,11 +10,6 @@ server {
return 200 '8906c392d82bad461896285855d73cd8'; return 200 '8906c392d82bad461896285855d73cd8';
} }
location = /WW_verify_KiDk4c0uzgf4zc8l.txt {
default_type text/plain;
return 200 'KiDk4c0uzgf4zc8l';
}
location /console/api { location /console/api {
proxy_pass http://api:5001; proxy_pass http://api:5001;
include proxy.conf; include proxy.conf;

@ -4,6 +4,12 @@ server {
listen ${NGINX_PORT}; listen ${NGINX_PORT};
server_name langbot.${NGINX_SERVER_NAME}; server_name langbot.${NGINX_SERVER_NAME};
// wecom verification
location = /WW_verify_KiDk4c0uzgf4zc8l.txt {
default_type text/plain;
return 200 'KiDk4c0uzgf4zc8l';
}
# Main langbot service # Main langbot service
location / { location / {
proxy_pass http://host.docker.internal:5300; proxy_pass http://host.docker.internal:5300;

Loading…
Cancel
Save