Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docs/tls.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,19 @@ do as follows:
# ...
```

5. Restart your `php` service
5. If you want to use HTTPS, update this line in `compose.yaml`:

```console
SERVER_NAME: ${SERVER_NAME:-localhost}, php:80
```

Replace `80` by `443`.

6. Restart your `php` service using your local host:

```console
SERVER_NAME=https://server-name.localhost docker compose up --wait
```

## Disabling HTTPS for Local Development

Expand Down