You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/docker/nginx/conf.d/langbot.conf.template

34 lines
826 B
Plaintext

# Configuration for langbot.lefeng.school subdomain
server {
listen ${NGINX_PORT};
server_name langbot.${NGINX_SERVER_NAME};
location = /WW_verify_KiDk4c0uzgf4zc8l.txt {
default_type text/plain;
return 200 'KiDk4c0uzgf4zc8l';
}
location = /WW_verify_mswCnge1eFy5BhIJ.txt {
default_type text/plain;
return 200 'mswCnge1eFy5BhIJ';
}
# Main langbot service
location / {
proxy_pass http://host.docker.internal:5300;
include proxy.conf;
}
# Callback endpoint
location /callback {
proxy_pass http://host.docker.internal:2290;
include proxy.conf;
}
# placeholder for acme challenge location
${ACME_CHALLENGE_LOCATION}
# placeholder for https config defined in https.conf.template
${HTTPS_CONFIG}
}