Commit Graph

25 Commits

Author SHA1 Message Date
fa5bf17eb8 feat: convert WordOps from Nginx to OpenLiteSpeed + LSPHP + LSCache
Some checks failed
CI / test WordOps (ubuntu-22.04) (push) Has been cancelled
CI / test WordOps (ubuntu-24.04) (push) Has been cancelled
Complete conversion of the WordOps stack from Nginx + PHP-FPM to
OpenLiteSpeed + LSPHP + LSCache. This is a full rewrite across all 7
phases of the codebase:

- Foundation: OLS paths, variables, services, removed pynginxconfig dep
- Templates: 11 new OLS mustache templates, removed nginx-specific ones
- Stack: stack_pref, stack, stack_services, stack_upgrade, stack_migrate
- Site: site_functions, site, site_create, site_update
- Plugins: debug, info, log, clean rewritten for OLS
- SSL/ACME: acme.sh deploy uses lswsctrl, OLS vhssl blocks
- Other: secure, backup, clone, install script

Additional features:
- Debian 13 (trixie) support
- PHP 8.5 support
- WP Fort Knox mu-plugin integration (wo secure --lockdown/--unlock)
- --nginx CLI flag preserved for backward compatibility

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 18:55:16 +01:00
VirtuBox
2f45853067 Add php8.4 support 2024-12-03 14:08:19 +01:00
Gabriel Giordano
7c6dab1f08 Fix status check on php8.3 2023-12-20 23:20:16 -03:00
Janio Sarmento
a76d76ce5f #482: Add PHP 8.2 to WO 2022-12-10 10:37:20 -03:00
Janio Sarmento
555269decf #348: PHP8 2022-01-23 15:14:24 -03:00
VirtuBox
01ee8c0a13 v3.11.0 (#211)
- PHP 7.4 support
- Improved Webp images support with Cloudflare (Issue [#95](https://github.com/WordOps/WordOps/issues/95)). Nginx will not serve webp images alternative with Cloudflare IP ranges.
- Stack upgrade for adminer
- Check acme.sh installation and setup acme.sh if needed before issuing certificate
- Add `--ufw` to `wo stack status`
- Add Nginx directive `gzip_static on;` to serve precompressed assets with Cache-Enabler or WP-Rocket. (Issue [#207](https://github.com/WordOps/WordOps/issues/207))
- Previous `--php73` & `--php73=off` flags are replaced by `--php72`, `--php73`, `--php74` to switch site's php version
- phpMyAdmin updated to v4.9.2
- Adminer updated to v4.7.5
- Replace dot and dashes by underscores in database names (Issue [#206](https://github.com/WordOps/WordOps/issues/206))
- Increased database name length to 32 characters from domain name + 8 random characters
- typo error in motd-news script (Issue [#204](https://github.com/WordOps/WordOps/issues/204))
- Install Nginx before ngxblocker
- WordOps install/update script text color
- Issue with MySQL stack on Raspbian 9/10
- Typo error  (PR [#205](https://github.com/WordOps/WordOps/pull/205))
- php version in `wo debug` (PR [#209](https://github.com/WordOps/WordOps/pull/209))
- SSL certificates expiration display with shared wildcard certificates
2019-12-03 19:48:18 +01:00
VirtuBox
b771b2578e Updating configuration (#197)
#### Added

- [ACME] Display warning about sudo usage when issuing certificate with DNS API validation (require `sudo -E`)

#### Changed

- [ACME] Resolve domain IP over HTTPS with Cloudflare DNS Resolver
- [CORE] Cement Framework updated to v2.10.2
- [SITE] database name = 0 to 16 characters from the site name + 4 randomly generated character
- [SITE] database user = 0 to 12 characters from the site name + 4 randomy generated character
- [STACK] Improve sysctl tweak deployment

#### Fixed

- [SITE] https redirection missing on subdomains sites
- Issues with digitalocean mariadb repository
- Cement Framework output handler issues
- [CLEAN] check if Nginx is installed before purging fastcgi or opcache
2019-11-11 19:06:11 +01:00
VirtuBox
f2d4bcb353 Fix wo info and add tweaks to wo stack upgrade 2019-10-30 04:23:20 +01:00
VirtuBox
4131ca2c16 Fix wo_service 2019-10-03 16:57:19 +02:00
VirtuBox
391f9028c6 another change in logging 2019-09-05 12:06:28 +02:00
VirtuBox
eb8aa1bd4e Fix log color 2019-09-05 12:01:33 +02:00
VirtuBox
2e151cc74b Fix services 2019-09-05 12:00:46 +02:00
VirtuBox
63188b1905 Changes in logging 2019-09-05 11:59:57 +02:00
VirtuBox
50cc8a4d09 Sort import, create class DMN 2019-09-04 20:36:15 +02:00
VirtuBox
9da4bff5e9 Improve logging display 2019-09-04 19:25:09 +02:00
VirtuBox
1650d2093e Log.info instead of error 2019-08-27 15:50:23 +02:00
VirtuBox
d24ae7e8d2 Add Nginx configuration Rollback 2019-08-27 15:12:01 +02:00
VirtuBox
5cc1c06e88 Changes services messages 2019-08-27 13:40:43 +02:00
VirtuBox
c60d4e306a Improve Nginx service management 2019-08-27 12:32:48 +02:00
VirtuBox
378c9a4820 Fix nginx restart service 2019-08-27 10:20:25 +02:00
VirtuBox
42e856173f Several new features
- cht.sh stack : linux online cheatsheet. Usage : `cheat <command>`. Example for tar : `cheat tar`
- ClamAV anti-virus with weekly cronjob to update signatures database
- Internal function to add daily cronjobs
- Additional comment to detect previous configuration tuning (MariaDB & Redis)
- Domain/Subdomain detection based on public domain suffixes list
- Increase Nginx & MariaDB systemd open_files limits
- Cronjob to update Cloudflare IPs list
2019-08-26 18:05:26 +02:00
VirtuBox
0d4bf8a4f2 Remove uneeded import 2019-07-29 04:10:47 +02:00
VirtuBox
9de9ba8637 reformat code according to pep8 2019-04-29 02:06:32 +02:00
VirtuBox
79d45044f9 fix stack issues
* fix php7.2 stack detection
* add php7.3 as php7.0 replacement
2019-03-05 15:45:05 +01:00
jeroenops
b36df4384a Refactored 2018-11-13 21:55:59 +01:00