Tag Archive: nginx

Find an article
Jun 3

How to dump nginx sites-enabled configuration

Published by in · Leave your thoughts
Warning! There was an error loading some of the images for this post.

I was recently a fool and accidentally deleted my nginx sites-enabled configurations. After endless mopping, I stumbled across this. If you add the below to file such as “find_nginx_config.sh”: # Set pid of nginx master process here pid=8192 # generate gdb commands from the process's memory mappings using awk cat /proc/$pid/maps | awk '$6 !~ "^/" {split ($1,addrs,"-"); print "dump memory... Read Arcticle

Jun 15

Nginx SSL setup [DEBIAN]

Published by in · Leave your thoughts
Warning! There was an error loading some of the images for this post.

Today I decided I’d add a self-signed SSL certificate to my 128 MB VPS in preparation for some projects I’m hoping to setup. Below is a guide of how to create and add a self-signed SSL certificate to your Nginx web server. Start by creating a folder to store your SSL certficiates on the server: mkdir -p /etc/ssl/localcerts Now create... Read Arcticle