Make cert handling in the docs more clear.
This commit is contained in:
1 parent
9e68275730
commit
71dfb4e3ae
1 file changed
+7
-3
@@ -56,11 +56,11 @@ In this example we do not change the default port (`9200`). But this could be ch
|
|||||||
|
|
||||||
You need to configure `your-host` in some services to provide the needed public resources.
|
You need to configure `your-host` in some services to provide the needed public resources.
|
||||||
|
|
||||||
|
This snippet will start the ocis server with auto generated self signed certificates:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
PROXY_HTTP_ADDR=0.0.0.0:9200 \
|
PROXY_HTTP_ADDR=0.0.0.0:9200 \
|
||||||
OCIS_URL=https://your-server:9200 \
|
OCIS_URL=https://your-server:9200 \
|
||||||
PROXY_TRANSPORT_TLS_KEY=./certs/your-host.key \
|
|
||||||
PROXY_TRANSPORT_TLS_CERT=./certs/your-host.crt \
|
|
||||||
KONNECTD_TLS=0 \
|
KONNECTD_TLS=0 \
|
||||||
./bin/ocis server
|
./bin/ocis server
|
||||||
```
|
```
|
||||||
@@ -69,7 +69,11 @@ For more configuration options check the configuration section in [ocis](https:/
|
|||||||
|
|
||||||
{{< hint info >}}
|
{{< hint info >}}
|
||||||
**TLS Certificate**\
|
**TLS Certificate**\
|
||||||
In this example, we are replacing the default self-signed cert with a CA signed one to avoid the certificate warning when accessing the login page.
|
If you have a CA signed certificate for your domain, add the following configurations:
|
||||||
|
```
|
||||||
|
PROXY_TRANSPORT_TLS_KEY=./certs/your-host.key \
|
||||||
|
PROXY_TRANSPORT_TLS_CERT=./certs/your-host.crt \
|
||||||
|
```
|
||||||
{{< /hint >}}
|
{{< /hint >}}
|
||||||
|
|
||||||
## Use Docker Compose
|
## Use Docker Compose
|
||||||
|
|||||||
Reference in new issue
Block a user