Skip to content

Commit

Permalink
fix(docs): local https - fix casing in headings (#24316)
Browse files Browse the repository at this point in the history
  • Loading branch information
muescha authored May 21, 2020
1 parent 596ca46 commit 9bae3a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/docs/local-https.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: Local HTTPS

Gatsby provides an easy way to use a local HTTPS server during development, thanks to [devcert](https://github.com/davewasmer/devcert). When you enable the `https` option, a private key and certificate file will be created for your project and used by the development server.

## Usage (Automatic HTTPS)
## Usage (automatic HTTPS)

Start the development server using `npm run develop` as usual, and add either the `-S` or `--https` flag.

Expand Down Expand Up @@ -43,7 +43,7 @@ After typing in your password, `devcert` will install the CA certificate in your

`devcert` is configured to install `certutil` automatically, unless you're running Windows. If an automatic install is not successful, you may need to install it manually.

### Manual Installation of `Certutil`
### Manual installation of `Certutil`

To install `certutil`, you need to install the `nss tools` package(s). The exact procedure will differ depending on your operating system.

Expand Down Expand Up @@ -74,7 +74,7 @@ brew install nss

Pre-compiled libraries are rare, so you may need to compile it yourself. Because of how difficult Windows makes it, `devcert` will not attempt to update the Firefox trust store automatically; instead, it will fall back to using the "Firefox wizard", detailed below.

### Debugging Installation
### Debugging installation

If you choose not to install `certutil`, or the automatic install is not successful, you may get the following errors/prompts:

Expand Down Expand Up @@ -120,11 +120,11 @@ You can open the development server at `https://localhost:8000` and enjoy the HT

Find out more about [how devcert works](https://github.com/davewasmer/devcert#how-it-works).

## Management of certificates generated by devcert
## Management of certificates generated by `devcert`

If you want to do some maintenance/cleanup of the certificates generated by `devcert`, please refer to the [devcert-cli](https://github.com/davewasmer/devcert-cli/blob/master/README.md)

## Custom Key and Certificate Files
## Custom key and certificate files

You may find that you need a custom key and certificate file for HTTPS if you use multiple
machines for development (or if your dev environment is containerized in Docker).
Expand Down

0 comments on commit 9bae3a2

Please sign in to comment.