Hi guys!
I wrote a Nextcloud installation Guide for an Ubuntu bare meta installation behind an NGINX proxy. The goal was to follow Nextclouds recommendations and pass the security scan without errors.
Would love to hear your input. Feel free to give me feedback here or open an issue here:
# Example installation on Ubuntu 22.04.03 LTS with Apache2, APCu, redis and mariadb behind a NGINX proxy
## Who is this for?
This is an example installation for Ubuntu users who want to host a Nextcloud instance behind a NGINX proxy and have no security or performance warnings.
There are some placeholder values or variables that always start with x. You need to replace them your data.
This is the structure of this guide.

## Install packages
Nextcloud currently recommends PHP 8.2 but Ubuntu 22.04 comes with PHP8.1. I think it is easier to use a slightly outdated PHP version, than to add Ondrejs PHP repositories.
We install all the software that is needed plus some optional software so we won't get warnings in the Nextcloud Admin Center.
```bash
sudo apt install apache2 mariadb-server exif imagemagick redis-server bzip2
```
Install all php modules.
```bash
This file has been truncated. show original