IT Tips

Access

Blog History

Add SSH Key to a Single Github Repository

To add a key to a single repo instead of the SSH key having access to all repositories just add a Deploy key and give it write access to the repository. Go into the Settings on the repository and click the Add deploy key under the Deploy keys section. Check the...

read more

Using a regex to specify nginx server_name

I wanted to publish two hostnames from the one config and capture the host portion so I could redirect it correctly Using certbot to create a single letsencrypt cert with both domains in it. First add DNS records for both domains pointing at your webserver sudo...

read more