Bring README up to date.
This commit is contained in:
34
README.md
34
README.md
@ -9,11 +9,12 @@ The LiteSpeed Server Appliance is a fast, modern web server environment built on
|
|||||||
|
|
||||||
* **OpenLiteSpeed** for blazing-fast HTTP/3-powered web serving
|
* **OpenLiteSpeed** for blazing-fast HTTP/3-powered web serving
|
||||||
* **MariaDB** for robust, MySQL-compatible databases
|
* **MariaDB** for robust, MySQL-compatible databases
|
||||||
* **PHP 8.2** and essential extensions
|
* **PHP 8.3** and essential extensions
|
||||||
* **Redis**, GZIP, and Brotli for performance and caching
|
* **Redis**, GZIP, and Brotli for performance and caching
|
||||||
* **Self-signed SSL** out of the box, with **Let's Encrypt support via Certbot**
|
* **Self-signed SSL** out of the box, with **Let's Encrypt support via Certbot**
|
||||||
|
|
||||||
It's perfect for hosting high-performance websites and apps, including—but not limited to—WordPress.
|
It's perfect for hosting WordPress or other high-performance websites and apps on
|
||||||
|
low-powered hardware such as Raspberry Pi.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -22,35 +23,36 @@ It's perfect for hosting high-performance websites and apps, including—but not
|
|||||||
* Web Root: `/var/www/html`
|
* Web Root: `/var/www/html`
|
||||||
* WebAdmin Panel: `https://your-server-ip:7080`
|
* WebAdmin Panel: `https://your-server-ip:7080`
|
||||||
|
|
||||||
* Default login: `admin / 123456`
|
* Set admin password: `/usr/local/lsws/admin/misc/admpass.sh` (as root)
|
||||||
* Change password: `/usr/local/lsws/admin/misc/admpass.sh`
|
* Web View: `https://your-server/`
|
||||||
* PHP Info File: `http://your-server/info.php`
|
* UFW Firewall: Enabled (Ports 22, 80, 443, 7080 allowed)
|
||||||
* UFW: Enabled (Ports 22, 80, 443, 7080 allowed)
|
* php.ini is located at /usr/local/lsws/lsphp83/etc/php/83/litespeed/php.ini
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## SSL Setup
|
## SSL Setup
|
||||||
|
|
||||||
### ✅ Already Configured
|
### ✅ Configured Out-of-the-box
|
||||||
|
|
||||||
* A **self-signed SSL certificate** is preinstalled and active for your site on port 443.
|
* A **self-signed SSL certificate** is preinstalled and active for your site on port 443.
|
||||||
* This lets you test HTTPS immediately with a browser security exception.
|
* This lets you test HTTPS immediately with a browser security exception.
|
||||||
|
|
||||||
### 🔒 Upgrade to Let's Encrypt SSL (Recommended)
|
### 🔒 Upgrade to Let's Encrypt SSL (Recommended)
|
||||||
|
|
||||||
1. Ensure your domain points to this server.
|
1. Let's Encrypt certbot is already installed and ready.
|
||||||
2. Run:
|
2. Ensure your domain points to this server.
|
||||||
|
3. Run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
certbot certonly --webroot -w /var/www/html -d yourdomain.com
|
certbot certonly --webroot -w /var/www/html -d yourdomain.com
|
||||||
```
|
```
|
||||||
3. Update LiteSpeed's config to use the real cert:
|
4. Update LiteSpeed's config to use the real cert:
|
||||||
|
|
||||||
```
|
```
|
||||||
certFile /etc/letsencrypt/live/yourdomain.com/fullchain.pem
|
certFile /etc/letsencrypt/live/yourdomain.com/fullchain.pem
|
||||||
keyFile /etc/letsencrypt/live/yourdomain.com/privkey.pem
|
keyFile /etc/letsencrypt/live/yourdomain.com/privkey.pem
|
||||||
```
|
```
|
||||||
4. Restart LiteSpeed:
|
5. Restart LiteSpeed:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
systemctl restart lsws
|
systemctl restart lsws
|
||||||
@ -61,15 +63,11 @@ It's perfect for hosting high-performance websites and apps, including—but not
|
|||||||
## Notes
|
## Notes
|
||||||
|
|
||||||
* The appliance does **not** include WordPress or any CMS by default. Install your web site or CMS to /var/www/html/
|
* The appliance does **not** include WordPress or any CMS by default. Install your web site or CMS to /var/www/html/
|
||||||
* All configuration happens during the build phase—end users can begin using the server immediately.
|
* All configuration happens during the build phase. End users can begin using the server immediately.
|
||||||
* File uploads, rewrite rules, caching behavior, and database settings can be customized as needed.
|
* File uploads, rewrite rules, caching behavior, and database settings can be optimized, but editing of defaults via LiteSpeed WebAdmin or php.ini is entirely open.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Support & Licensing
|
## Support & Licensing
|
||||||
|
|
||||||
This appliance is open source and released under the **Apache 2.0 license**. Contributions and forks are welcome.
|
This appliance is open source and released under the **Apache 2.0 license**. Use at your own risk. Contributions and forks are welcome.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Enjoy your high-performance web server!
|
|
||||||
|
Reference in New Issue
Block a user