Skip to content

Instantly share code, notes, and snippets.

View nightpaws's full-sized avatar
🐺
Working away on stuff...

Nightpaws nightpaws

🐺
Working away on stuff...
View GitHub Profile
@nightpaws
nightpaws / Keybase.md
Created November 13, 2022 18:02
Keybase Verification

Keybase proof

I hereby claim:

  • I am nightpaws on github.
  • I am nightpaws (https://keybase.io/nightpaws) on keybase.
  • I have a public key ASDN5kloEvu8DsJMU1i7zxAei7Ylxq9oKzYxyxygOPSDLwo

To claim this, I am signing this object:

@nightpaws
nightpaws / letsencrypt.md
Created July 22, 2016 02:06 — forked from xrstf/letsencrypt.md
Let's Encrypt on Ubuntu 14.04, nginx with webroot auth

Let's Encrypt on Ubuntu 14.04, nginx with webroot auth

This document details how I setup LE on my server. Firstly, install the client as described on http://letsencrypt.readthedocs.org/en/latest/using.html and make sure you can execute it. I put it in /root/letsencrypt.

As it is not possible to change the ports used for the standalone authenticator and I already have a nginx running on port 80/443, I opted to use the webroot method for each of my domains (note that LE does not issue wildcard certificates by design, so you probably want to get a cert for www.example.com and example.com).

Configuration

For this, I placed config files into etc/letsencrypt/configs, named after <domain>.conf. The files are simple: