feat: replace apache2 with nginx + php-fpm

BREAKING CHANGE: The `apache2` webserver has been replaced with `nginx` and `php-fpm`, be sure to uninstall `apache2` and clean related configuration files from your system before upgrading.
This commit is contained in:
jo 2022-07-06 16:23:52 +02:00 committed by Kyle Robbertze
parent 2f205544c2
commit ec45717ccf
8 changed files with 114 additions and 48 deletions

View file

@ -50,18 +50,18 @@ sudo rm -f /{etc,usr/lib}/systemd/system/airtime*
sudo rm -f /{etc,usr/lib}/systemd/system/libretime*
```
Remove apache2 configuration files:
Remove nginx configuration files:
```bash
sudo rm -f /etc/apache2/sites-{available,enabled}/airtime*
sudo rm -f /etc/apache2/sites-{available,enabled}/libretime*
sudo rm -f /etc/nginx/sites-{available,enabled}/airtime*
sudo rm -f /etc/nginx/sites-{available,enabled}/libretime*
```
Remove php configuration files:
Remove php-fpm configuration files:
```bash
sudo rm -f /etc/php/*/apache2/conf.d/airtime*
sudo rm -f /etc/php/*/apache2/conf.d/libretime*
sudo rm -f /etc/php/*/fpm/pool.d/airtime*
sudo rm -f /etc/php/*/fpm/pool.d/libretime*
```
Remove logrotate configuration files: