Category: Ubuntu/Debian

Create, upload and configure SSL cert for NGINX

Generate ¬†your SSL CSR to give your SSL provider NOTES: Common name is the DOMAIN NAME then write copy the whole block including the last whitespaces from —-begin certificate request—– key —– end certificate request —– > cert_chain.crt paste that in to your SSL provied including whitespaces. Then when you followed the steps and downloaded …

Automatic UBUNTU security updates

To enable it, do: (it’s an interactive dialog) which will create /etc/apt/apt.conf.d/20auto-upgrades with the following contents: APT::Periodic::Update-Package-Lists “1”; APT::Periodic::Unattended-Upgrade “1”; to make sure that the server reboots after an important upgrade you need to adjust a line in /etc/apt/apt.conf.d/50unattended-upgrades make sure this line is set to true and not commented out: be aware that this …

NGINX on ubuntu optimization

check how many worker_processes you got: make a backup: change worker_processes to the number you got earlier. and for the gzip all you have to do is uncomment this line by removing #: uncomment as well. let the other commands be by default. exit and save ctrl x + y //cache// now lets add this …

Install php7

Now its time to adjust a few settings int the config. Start with making a backup in case you mess something up and want to revert. Now its time to adjust a few settings in the config. One is REALLY important that you configure for security reasons. to do this open up the config with> …