Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
arnested committed Nov 26, 2024
1 parent affcba1 commit a8627b6
Showing 1 changed file with 28 additions and 6 deletions.
34 changes: 28 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# HTTPS proxy

> [!CAUTION]
> Work in progress!
A nginx proxy with HTTPS support for Docker Compose development
environments.

Expand All @@ -23,12 +20,37 @@ volumes:
> [!TIP]
>
> Install [mkcert](https://mkcert.dev) on your host machine and
> generate and install a root certificate by running `mkcert -install`
> on your host machine (one time only).
> generate and install a root certificate on your host machine by
> running (one time only).
>
> ```console
> mkcert -install
> ```

### MAc users

> [!TIP]
>
> Mac users should then do (one time only):
>
> `$ mkdir -p ~/.local/share && ln -s "$(mkcert -CAROOT)" ~/.local/share`
> ```console
> mkdir -p ~/.local/share && ln -s "$(mkcert -CAROOT)" ~/.local/share`
> ```
>
> [Dory](https://github.com/FreedomBen/dory) users must adjust their
> config (run `dory config` or edit `~/.dory.yml`):
>
> ```yaml
> nginx_proxy:
> enabled: true
> container_name: dory_dinghy_http_proxy
> https_enabled: true
> # Update the follow line to point at the dev_certificates
> ssl_certs_dir: <full path to your homedir>/.local/share/dev_certificates
> image: codekitchen/dinghy-http-proxy:latest
> ```
>
> Remeber to restart Dory.

Use can use the following configuration for the generated certificate:

Expand Down

0 comments on commit a8627b6

Please sign in to comment.