From 3f021528e7618bc2d4fa67307c8bb1b57a90183a Mon Sep 17 00:00:00 2001 From: Abdouni Abdelkarim Date: Sun, 4 Jan 2026 16:22:39 +0100 Subject: [PATCH] Update tls.md - Using Custom TLS Certificates --- docs/tls.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/tls.md b/docs/tls.md index e8974f7c8..06c343b2e 100644 --- a/docs/tls.md +++ b/docs/tls.md @@ -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