Preconditions
not part of this tutorial
- nginx installation
- mariadb installation
- nextcloud installation
- how to exit VIM therefor I use nano in all commands
The first thing everyone should do before connecting to the Internet is to set up a proper firewall. Since Debian 10 (Buster), the iptables framework is replaced by the nftables framework.
To make it easier to get started, here is a short guide on how to get your firewall up and running in no time.
Now that I have found a new blog software it is time to get the web server up and running. First we teach nginx a little bit about compression with gzip.
By default gzip is already enabled in /etc/nginx/nginx.conf
but the important part of the configuration is commented out.