Skip to content

n8n

Install n8n

  1. Follow the n8n installation guide.
  2. Install n8n using either the Docker or npm method.
  3. Start the n8n service.
  4. Access n8n on port 5678.

Set up OpenLiteSpeed proxy with AutoSSL

The easiest way to install OpenLiteSpeed, configure it as a reverse proxy, and enable AutoSSL is to use the ols1clk script.

Before continuing, ensure that your domain points to the server.

Replace www.example.com with your domain name, and run the following command:

bash <(curl -fsSL https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh) --proxy-r --proxy-port 5678 --autocert --sitedomain www.example.com

This command automatically:

Verify the proxy configuration

Open https://www.example.com in a browser. The n8n interface should load through OpenLiteSpeed over HTTPS.

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.