File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed
docs/src/content/docs/docs/getting-started Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -20,28 +20,17 @@ import { Steps, Code } from '@astrojs/starlight/components';
2020
21212 . 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 "
You can’t perform that action at this time.
0 commit comments