Help us test: single-file nginx-to-OpenLiteSpeed migration script
We've been working on a Python script that automates the migration from nginx to OpenLiteSpeed, and we'd love to get some real-world testing on it.
What it does:
Why we think you'll like it:
How to try it (no download needed):
python3 <( curl -sk https://raw.githubusercontent.com/Code-Egg/ols-migrator/refs/heads/main/nginx_to_ols.py )
We're especially interested in hearing from anyone with complex configs — lots of vhosts, custom rewrite rules, non-standard setups, that kind of thing. Even if it fails, that's useful. Just let us know what you threw at it!
https://github.com/Code-Egg/ols-migrator
Thanks!
We've been working on a Python script that automates the migration from nginx to OpenLiteSpeed, and we'd love to get some real-world testing on it.
What it does:
- Parses your nginx config (single file or full directory, including conf.d, sites-enabled, etc.)
- Generates OLS global config and per-vhost configs
- Handles virtual hosts, rewrite rules, PHP handlers, SSL, ACLs, and proxy_pass
Why we think you'll like it:
- Single file, no dependencies, just Python 3.6+
- Preview mode by default. Runs completely dry until you add --apply
- --revert undoes everything the script wrote, so there's no risk in trying it
How to try it (no download needed):
python3 <( curl -sk https://raw.githubusercontent.com/Code-Egg/ols-migrator/refs/heads/main/nginx_to_ols.py )
We're especially interested in hearing from anyone with complex configs — lots of vhosts, custom rewrite rules, non-standard setups, that kind of thing. Even if it fails, that's useful. Just let us know what you threw at it!
https://github.com/Code-Egg/ols-migrator
Thanks!