Short answer
Nginx is the 2-clause BSD server, and LiteSpeed splits into a licensed Enterprise product and a separate GPLv3 edition called OpenLiteSpeed. nginx.org describes one master process and several workers, plus a modular filter chain. LiteSpeed's license page sets domain, RAM, and worker limits for Enterprise. Neither vendor page used here publishes a shared benchmark, so this comparison stays on license, modules, and the request.
Last verified against the sources listed below.
Key takeaways
- nginx.org distributes nginx under the 2-clause BSD License and describes a master plus workers.
- Enterprise LiteSpeed is licensed. Free Starter is a $0 lease with a 1-domain and 2 GB RAM cap.
- OpenLiteSpeed is the GPLv3 edition, and the vendor says it is not an Apache drop-in.
- Nginx chooses a server from the listen address and the Host header, then a location.
- LiteSpeed worker count is how many processes route, cache, and serve. It is not a speed score.
LiteSpeed vs nginx starts with the license and the request path, not with a speed ranking. nginx.org ships one open source server. LiteSpeed ships Enterprise under a license, and OpenLiteSpeed under GPLv3. This guide uses only the vendor pages opened for it, as of December 2026, and it does not invent a benchmark.
Web hosting is where either server usually runs. The software choice is still about license and configuration.
How do the licenses differ?
Nginx is BSD-licensed. LiteSpeed Enterprise is a license with caps. OpenLiteSpeed is GPLv3.
| nginx | LiteSpeed Enterprise | OpenLiteSpeed | |
|---|---|---|---|
| License | 2-clause BSD | Leased or owned Enterprise license | GPLv3 |
| Domain cap | Not stated on nginx.org | 1, 5, or unlimited, by license | Not a license cap on the project site |
| Apache config | Own server and location files | Drop-in, including .htaccess | Rewrite rules, not a full drop-in |
| Price printed here | No fee on the project page | Free Starter is $0. Other dollar prices are on the order flow | Free to download and use |
nginx.org says nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP and UDP proxy, and mail proxy. It was written by Igor Sysoev and is distributed under the 2-clause BSD License. Enterprise distributions, commercial support, and training are available from F5. The feature list includes a modular architecture, with filters for gzip, byte ranges, chunked responses, XSLT, SSI, and image transformation.
OpenLiteSpeed calls itself the open source edition of LiteSpeed Web Server Enterprise. It is free to download, use, distribute, and modify under GPLv3, with a separate OEM conversation if you want it inside a proprietary product. The same page says it is event-driven, understands Apache rewrite rules, and ships a WebAdmin console. It does not say it loads every Apache directive.
The license chooser is about Enterprise only. It lists eight licenses. Free Starter allows 1 domain, 1 worker, and 2 GB of RAM, and the page calls that license a $0 monthly lease.
Site Owner and Site Owner Plus allow 5 domains. Web Host licenses allow unlimited domains, with worker counts from 1 up to a configurable Elite tier. The domain cap counts top-level domains that have their own virtual host, and subdomains are unlimited.
Going over the cap can mean a 403, or a fall back to Apache on cPanel and Plesk.
LiteSpeed’s docs repeat those caps and add a warning: a license will not run on a server that exceeds its RAM or top-level domain limit. They recommend enough workers to use roughly 25 percent of the server’s cores, and they say hyper-threads do not count toward that core total. Dollar prices for the paid tiers are not printed on these two license pages. They are chosen in the billing flow.
What happens to one request?
Nginx picks a server, then a location. LiteSpeed’s licensed workers are the processes that do the general work.
The request processing guide says nginx first decides which server should handle the request. When several servers listen on the same address and port, it tests the Host header. If that header is missing or matches nothing, the default server for that port wins.
The default is a property of the listen port. After the server is chosen, prefix locations and regular expressions decide the handling. A GIF can be sent as a file, and a PHP request can be passed to FastCGI.
That is a configuration story, not a benchmark. The same article shows an empty server name returning status 444, which closes the connection, when you want to refuse requests that have no Host header.
LiteSpeed’s license page describes a worker as a process that does general server work: routing requests, SSL, caching, rewriting, and serving static files. The docs say each worker uses a separate core.
More workers means more of that work in parallel, up to the license. It does not mean the page published a requests-per-second figure. No figure of that kind is used here.
nginx.org’s architecture list says one master process and several workers, with workers running as an unprivileged user, and it says 10,000 inactive HTTP keep-alive connections take about 2.5M of memory. That memory note is nginx’s own statement about idle connections. It is not a comparison with LiteSpeed.
Which modules show up in the feature lists?
Nginx publishes a module and filter list. LiteSpeed publishes cache add-ons and, for Enterprise, Apache compatibility.
On nginx.org, HTTP features include rewrite rules, access control, rate limiting, FastCGI, uwsgi, SCGI, memcached, HTTP/2, and HTTP/3. Mail proxy features cover IMAP, POP3, and SMTP authentication paths. Stream features cover generic TCP and UDP proxying. You turn behavior on by configuring those pieces.
LiteSpeed’s license page says LSCache is included with every Enterprise license. LiteMage, for Magento, is a separate cache add-on with object caps on the lower tiers. The FAQ on that page says Enterprise includes QUIC and ESI, and that OpenLiteSpeed leaves some of those Enterprise features out. This guide does not extend that sentence into a feature-by-feature score, because the side-by-side the FAQ points at was not the page used for the numbers above.
How the internet works is the path a request takes before either server sees it. The Host header only matters once the connection arrives.
Which should you choose?
Choose nginx when you want the BSD server and you will write nginx configuration. Choose LiteSpeed Enterprise when you need the Apache drop-in and you can accept a domain, RAM, and worker cap. Choose OpenLiteSpeed when you want the GPLv3 edition and rewrite-rule compatibility is enough.
If the server has one small site and 2 GB of RAM or less, Free Starter matches the printed caps. If it has more domains than the license, the docs say you will get errors or an Apache fallback, depending on the panel. If you do not want a license file at all, nginx and OpenLiteSpeed are the two pages that describe free software, under different licenses.
Images are a separate saving. The server still has to send whatever file you stored.
The image compressor shrinks a JPEG, PNG, or WebP in the browser before that send. Pair it with either server. It does not change the license.
Frequently asked questions
Is OpenLiteSpeed the same product as LiteSpeed Web Server?
The vendor treats them as related and different. openlitespeed.org calls OpenLiteSpeed the open source edition of Enterprise, free under GPLv3 to download, use, distribute, and modify. The license page says Enterprise is the paid Apache drop-in and includes features such as QUIC and ESI. It says OpenLiteSpeed is not that drop-in and excludes some Enterprise features. Same company, two licenses.
What does the Free Starter license allow?
The license guide lists Free Starter as 1 top-level domain, 1 worker, and 2 GB of RAM. The choosing page calls it a monthly leased license with a $0 price, and it auto-renews when the invoice is $0. You cannot upgrade or downgrade to or from Free Starter. It is the wrong license above one domain, or for LiteMage on Magento. Exceeding either cap means the license will not work.
Does nginx include a matching domain cap?
Not on the pages opened here. nginx.org describes name-based and IP-based virtual servers, a master process, and worker processes, and it does not print a domain limit or a RAM license. The request-processing article shows several server blocks on one port, picked by the Host header. Enterprise distributions and commercial support are offered by F5. That is a support option, not a domain cap written into the open source feature list.
Which Apache files does each one read?
The Enterprise license page says LiteSpeed Enterprise reads existing Apache configuration, including .htaccess files, and works with panels such as cPanel and Plesk. openlitespeed.org says OpenLiteSpeed understands Apache rewrite rules, which is a narrower claim than full Apache compatibility. nginx.org documents its own configuration language, with server and location blocks, rather than claiming to load .htaccess. Pick the server whose config model you already have.
Do the worker limits change image file size?
No. A worker can send a static file, and LiteSpeed's docs list serving static content among worker tasks. nginx can serve a file from a matched location. Neither of those steps rewrites the bytes inside a JPEG. Compress the image before it is deployed. Extra workers do not make a large file small.
Sources
- nginx · nginx.org, 2026
- How nginx processes a request · nginx.org, 2026
- Choosing a License · LiteSpeed Technologies, 2026
- LiteSpeed Web Server licenses · LiteSpeed Documentation, 2026
- OpenLiteSpeed · OpenLiteSpeed, 2026