From 031f22f672e1c6a6f5d0b8bddea4cd32ade491de Mon Sep 17 00:00:00 2001 From: Riana Shahid <68962880+r-shahid@users.noreply.github.com> Date: Mon, 25 Jul 2022 17:01:09 -0400 Subject: [PATCH] added line saying to NOT edit the caddyfile (#39385) --- doc/admin/http_https_configuration.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/admin/http_https_configuration.md b/doc/admin/http_https_configuration.md index 57484b4b487..018d4288cc6 100644 --- a/doc/admin/http_https_configuration.md +++ b/doc/admin/http_https_configuration.md @@ -167,7 +167,9 @@ Usage instructions are provided via [the `caddy` service's inline comments insid ### HTTPS with Custom Certificates in Docker Compose -In your [docker-compose.yaml](https://github.com/sourcegraph/deploy-sourcegraph-docker/blob/master/docker-compose/docker-compose.yaml)within the caddy section: +**Important:** [https.custom-cert.Caddyfile](https://github.com/sourcegraph/deploy-sourcegraph-docker/blob/master/caddy/builtins/https.custom-cert.Caddyfile) should not require any updates and should remain untouched. Updates should be made in the [docker-compose.yaml](https://github.com/sourcegraph/deploy-sourcegraph-docker/blob/master/docker-compose/docker-compose.yaml) file only and as described below. + +In your [docker-compose.yaml](https://github.com/sourcegraph/deploy-sourcegraph-docker/blob/master/docker-compose/docker-compose.yaml) within the caddy section: 1. In the Environment section of the compose file uncomment & update this line with your Sourcegraph Site Address: