Skip to content

Commit 4af7628

Browse files
committed
docs: update config
1 parent f25efc8 commit 4af7628

File tree

1 file changed

+7
-18
lines changed
  • docs/src/content/docs/docs/getting-started

1 file changed

+7
-18
lines changed

docs/src/content/docs/docs/getting-started/docker.mdx

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,17 @@ import { Steps, Code } from '@astrojs/starlight/components';
2020

2121
2. Change config files
2222

23-
In nginx.conf, you need to specify your domain or ipv4 address
23+
In .env, you need to specify your domain or ipv4 address
2424
<Code code='
25-
...
26-
listen 443 ssl;
27-
server_name localhost; # Your domain
28-
...
29-
' lang='txt' title='nginx.conf' />
30-
31-
32-
To set up SSL. Create folder `CertSSL`
33-
```
34-
mkdir CertSLL
35-
```
25+
DOMAIN=example.com
26+
' lang='txt' title='.env' />
3627

37-
After that, copy the SSL certificates to the CertSSL folder,
38-
if the names are different,
39-
then change either the name of the certificates or in `nginx.conf`
28+
Write the path to your certificates in the .env config file.
4029

4130
<Code code='
42-
ssl_certificate /etc/nginx/ssl/fullchain.pem;
43-
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
44-
' lang='txt' title='nginx.conf' />
31+
SSL_CERT=/etc/nginx/ssl/privkey.pem
32+
SSL_CERT_KEY=/etc/nginx/ssl/privkey.pem
33+
' lang='txt' title='.env' />
4534

4635
<Code code=
4736
"

0 commit comments

Comments
 (0)