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: Permanently redirect a request with parameter consideration in Tengine/NginX

Well, this one gave me a super hard time. I looked everywhere and found nothing. There is a lot of misinformation.

As usual, the Nginx and Funtoo communities helped me. Thanks to:

  • MTecknology in #nginx @ Freenode
  • Tracerneo in #funtoo @ Freenode

So, how do we do this? Easy, we use a …


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 …