Skip to content

Instantly share code, notes, and snippets.

@nanusdad
nanusdad / gist:dba4e71a56838b102a94ebc53eb845d1
Created July 24, 2024 06:07 — forked from vishnumitraha/gist:7c4fa85bf09e8c5a9384c875468420cb
Let's Encrypt SSL certificate to an Amazon S3 static site

To add a Let's Encrypt SSL certificate to an Amazon S3 static site, you will need to use Amazon CloudFront as an intermediary, since S3 does not support SSL certificates directly. Here are the detailed steps to achieve this:

Step 1: Set Up Your S3 Bucket

  1. Create an S3 Bucket:

    • Go to the AWS Management Console.
    • Create a new S3 bucket with a unique name (this will be your static website).
    • Enable static website hosting in the bucket properties.
  2. Upload Your Website Files:

@nanusdad
nanusdad / mac-setup.md
Created May 13, 2024 17:39 — forked from orlando/mac-setup.md
Fresh Mac OS Setup

1. Run Software Update

Make sure everything is up to date in the App Store

2. Install Homebrew

  1. Open a terminal window and execute the Homebrew install script:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
@nanusdad
nanusdad / .gitignore
Created April 18, 2018 19:06 — forked from smebberson/.gitignore
Express simple authentication example
node_modules
*.swp