Commit Graph

44 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
e02fb864ad Fix backend certificate 2024-06-08 15:58:29 +02:00
VirtuBox
68db0f46b2 Add wo stack migrate --nginx 2024-06-08 14:27:16 +02:00
VirtuBox
4f7c52966d Log less data 2024-05-29 02:09:17 +02:00
VirtuBox
36aa70fb52 Revert "Set permissions when writing files, log less data"
This reverts commit e2f8951940.
2024-05-29 02:07:08 +02:00
VirtuBox
e2f8951940 Set permissions when writing files, log less data 2024-05-22 21:02:13 +02:00
VirtuBox
8ddaa7e98f Improve broken symlink removal 2024-04-21 17:37:30 +02:00
VirtuBox
9a7c5e4ea1 Improve WOAcme ip check 2024-04-21 12:51:59 +02:00
VirtuBox
88e1bb1974 Deploy ssl.conf from mustache template 2023-08-13 10:24:29 +02:00
Old School van den Berg
898d75e874 Fixed a spelling mistake
Your -> you
2022-10-15 16:42:17 +02:00
Hamada Habib
c2fbfe415a Update acme.py
Fix: nginx: [warn] "ssl_stapling" ignored, issuer certificate not found for certificate "/var/www/22222/cert/22222.crt"
2022-06-15 11:32:31 +02:00
VirtuBox
8d19fd7a26 Fix missing function 2020-10-14 18:22:21 +02:00
VirtuBox
c0547392e9 Fix cert.csv utf-8 2020-10-14 18:17:06 +02:00
VirtuBox
c3076cfdfe Fix cert.csv encoding to utf-8 2020-10-14 15:29:06 +02:00
VirtuBox
b503cb3132 Fix variable acme_cert in -le 2020-01-17 11:50:31 +01:00
VirtuBox
f27f491765 Additional check for existant SSL certificates 2020-01-14 16:30:08 +01:00
VirtuBox
7ce01d3ded Fix acme domain IP validation with cname 2019-12-10 00:24:01 +01: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
914f049852 Fix acme certificate on domain 2019-11-05 16:11:43 +01:00
VirtuBox
aa5f2eeb49 Refactor -le=renew 2019-10-29 18:47:52 +01:00
VirtuBox
1e5e07e277 Simplify acme 2019-10-28 11:15:53 +01:00
VirtuBox
72d6f33b7b Move removeconf into acme 2019-10-28 10:35:26 +01:00
VirtuBox
c2d27f1480 Fix small issues detected by codacy 2019-10-28 09:22:04 +01:00
VirtuBox
179ea7d9cf Improve acme process and error log 2019-10-26 19:28:56 +02:00
VirtuBox
7765b2ce84 Several improvements
* Run `mysql_upgrade` during MySQL upgrade with `wo stack upgrade` to perform migration if needed
* WordOps now check if a repository already exist before trying to adding it again.
* install script refactored
2019-10-25 23:58:08 +02:00
VirtuBox
5ad068dc7c Several fixes
* don't deploy ssl certificate if acme.sh failed
* install script issues
* GPG keys error with old EasyEngine Nginx repository
2019-10-18 10:49:06 +02:00
VirtuBox
c731d806d6 Refactor acme.sh and WOVariables 2019-10-02 13:13:32 +02:00
VirtuBox
7dba29da06 Fix WOAcme 2019-10-01 17:29:29 +02:00
VirtuBox
40b1f48fc3 another test with WOAcme 2019-10-01 17:28:10 +02:00
VirtuBox
893a4d3421 Fix acme 2019-10-01 17:26:15 +02:00
VirtuBox
15b3b5d55c Improve acme 2019-10-01 15:22:03 +02:00
VirtuBox
715497d3b1 Simplify several functions 2019-10-01 04:08:54 +02:00
VirtuBox
555760164b Fix keylength 2019-09-30 15:05:07 +02:00
VirtuBox
905ef0660a Fix some errors with pylint 2019-09-30 12:38:28 +02:00
VirtuBox
0170366ce4 Add DNS alias mode 2019-09-24 02:36:46 +02:00
VirtuBox
1d8164e583 Improve acme and check dns before issuing cert 2019-09-24 01:59:49 +02:00
VirtuBox
818e36afbc Fix debug 2019-09-23 01:17:28 +02:00
VirtuBox
edde5e4043 Refactor acme validation 2019-09-23 01:16:52 +02:00
VirtuBox
2ca057e7ce Fix acme return true 2019-09-23 01:14:59 +02:00
VirtuBox
da23fc88ae Improve acme logging 2019-09-23 01:11:27 +02:00
VirtuBox
7207948727 Fix incorrect variable 2019-09-23 01:02:44 +02:00
VirtuBox
c99f429f3c Fix cert deployment 2019-09-23 01:00:58 +02:00
VirtuBox
e817a4086c Refactor acme.sh integration 2019-09-22 19:30:39 +02:00