Archive > Tag: nginx

HowTo: Generate free SSL certificates for Nginx/Tengine with LetsEncrypt

OK, it's fairly easy to get this done on a distro like Funtoo/Gentoo or Fedora, which are the distros I use.

First of all, you need to install this thing on your server:

# Fedora
su -
dnf -y install letsencrypt

# Funtoo/Gentoo
su -
mkdir src && cd src
git clone https …

HowTo: Regenerate tmpfiles without restarting

Ok, I'm playing around with thin and nginx now. I am into sinatra and padrino and stuff.

So, I am creating sockets for thin so nginx can read them. I need a directory in /run

I've decided to create a directory called thin; with 2770 permissions and owner/group would …