Skip to content

Commit 59fa493

Browse files
authored
fix backticks
1 parent 052f223 commit 59fa493

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -50,21 +50,20 @@ Open the Nginx configuration file:
5050

5151
Add the following configuration. Change YOUR_DOMAIN_NAME with your domain name:
5252

53-
``server {
53+
```server {
5454
listen 80;
5555
server_name YOUR_DOMAIN_NAME;
56-
return 301 https://$host$request_uri;
57-
}
56+
return 301 https://$host$request_uri;
57+
}
58+
5859
server {
5960
listen 443 ssl;
6061
server_name YOUR_DOMAIN_NAME;
61-
6262
ssl_certificate /etc/letsencrypt/live/YOUR_DOMAIN_NAME/fullchain.pem;
6363
ssl_certificate_key /etc/letsencrypt/live/YOUR_DOMAIN_NAME/privkey.pem;
6464
include /etc/letsencrypt/options-ssl-nginx.conf;
6565
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
6666
67-
6867
location / {
6968
proxy_pass http://localhost:4173;
7069
proxy_set_header Host $host;
@@ -80,7 +79,9 @@ server {
8079
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
8180
proxy_set_header X-Forwarded-Proto $scheme;
8281
}
83-
}``
82+
}
83+
```
84+
8485

8586
6. Create a symbolic link to enable the configuration:
8687

0 commit comments

Comments
 (0)