Skip to content

Instantly share code, notes, and snippets.

View Snider's full-sized avatar
💜
Where all the work is done.

Snider

💜
Where all the work is done.
View GitHub Profile
@dahlsailrunner
dahlsailrunner / SSL-nginx-Docker.md
Last active May 17, 2024 11:43
SSL with Docker images using nginx as reverse proxy

Docker with SSL and an nginx reverse proxy

Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.

Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).

1. Create a conf file with information about the cert you'll be creating

It should look something like the content below; call it my-site.conf or something like that.

@ereli
ereli / hello.go
Last active May 13, 2024 15:18
How to sign macOS and Windows executables using self-signed certificates on a Mac.
package main
import "fmt"
func main() {
fmt.Println("hello world")
}