Advanced Configuration

Using Gzip/Brotli Compression

The Master Switch OpenLiteSpeed’s default Gzip and Brotli Compression settings should be appropriate for most situations. The server level Enable Compression setting is a master switch, and is enabled by default. If you set it to No, it will disable compression server-wide, overriding all virtual-host-level…

Authentication Through Realms

User Authentication by Site or Subdirectory Authentication is the process of confirming a user’s identity, and it provides a way to ensure that only legitimate users create content on your site. Authentication is set up through OpenLiteSpeed’s WebAdmin Console and may be applied to the…

Bubblewrap in OpenLiteSpeed

What is bubblewrap Bubblewrap is a lightweight sandbox application developed from Flatpak with a small installation footprint and minimal resource requirements. See their wiki for details. It has been integrated into OpenLiteSpeed. Installing bubblewrap You must install bubblewrap first to use it with OpenLiteSpeed. NOTE:…

UploadProgress Module not Enabled

You can test the file upload function using the OpenLiteSpeed default example installation test page at http://yourip:8088, where you may encounter an ERROR — uploadProgress module not enabled? error, like this: uploadprogress is an OLS module which is included in /usr/local/lsws/modules/uploadprogress.so, but it needs to…

Per-Client Throttling

OpenLiteSpeed includes a built-in Per-Client Throttling feature which allows you to block bad IPs. Navigate to Configuration > Server > Security configurations > Per Client Throttling to find several configuration settings that you can use to limit the request, bandwidth, and connection rate per remote…