Serve the visitor.
- Browser → HTTPS. A visitor opens the public domain.
- Nginx → correct service. Normal pages go to the website container. Chatbot paths go to the backend.
- Backend → model. Input and request limits are checked before the model call. The API key stays on the server.
- Answer → browser. The widget renders plain text. It cannot execute server commands.