From d8cac182fc5b1ae0cd0ec641b9a61e66b4ad0a63 Mon Sep 17 00:00:00 2001 From: Yasuaki Uechi Date: Fri, 7 Feb 2020 03:16:33 +0000 Subject: [PATCH] Update from Forestry.io Yasuaki Uechi updated _posts/2020-02-07-secure-dev-server.md --- _posts/2020-02-07-secure-dev-server.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_posts/2020-02-07-secure-dev-server.md b/_posts/2020-02-07-secure-dev-server.md index 0f6702c..5f9df3e 100644 --- a/_posts/2020-02-07-secure-dev-server.md +++ b/_posts/2020-02-07-secure-dev-server.md @@ -1,7 +1,8 @@ --- title: Securing Local Dev Server ---- +date: 2020-02-07 00:00:00 +0900 +--- Sometimes you want to interact with a local webserver with https support because of some browser APIs that are only available in an https environment. You can easily create a self-signed TLS cert for development purposes with [`mkcert`](https://github.com/FiloSottile/mkcert). @@ -18,4 +19,4 @@ cd awesome-website mkcert localhost # this will generate ./localhost.pem and ./localhost-key.pem npm install -g serve serve --ssl-cert ./localhost.pem --ssl-key ./localhost-key.pem -``` +``` \ No newline at end of file