Langflow¶
Langflow is a powerful platform for building and deploying AI-powered agents and workflows. It provides developers with both a visual authoring experience and built-in API and MCP servers that turn every workflow into a tool that can be integrated into applications built on any framework or stack. Langflow comes with batteries included and supports all major LLMs, vector databases, and a growing library of AI tools.
Install Langflow¶
Follow the Langflow installation guide, and install Langflow using either the Docker or Python package method. After installation, start the Langflow service. You should then be able to access Langflow on port 7860.
Set up OpenLiteSpeed proxy with AutoSSL¶
The easiest way to install OpenLiteSpeed, configure it as a reverse proxy, and enable AutoSSL is by using the ols1clk script.
Before continuing, make sure your domain already points to your server.
Replace www.example.com with your real domain name and run the following command:
bash <(curl -fsSL https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh) \
--proxy-r --proxy-port 7860 --autocert --sitedomain www.example.com
This command automatically:
- Installs OpenLiteSpeed.
- Configures the Example virtual host as a reverse proxy.
- Applies your domain to the listener virtual host mapping.
- Automatically requests and installs SSL certificates using ACME.
Verify that it is working¶
Open https://www.example.com in your browser. You should see the Langflow interface and be able to continue using Langflow through OpenLiteSpeed over HTTPS.
Disable public access to port 7860 after confirming everything works.
Optional settings¶
You can further enhance your site's security by enabling features such as:
- OWASP protection
- reCAPTCHA
- Per-client throttling
- Realm protection
- IP Allow/Deny
See the OpenLiteSpeed Security Guide for more information.