You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/guide.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -246,7 +246,9 @@ fields.
246
246
247
247
### Nginx reverse proxy
248
248
249
-
If you prefer to use Nginx instead of Caddy, here is a sample config (put e.g. in `/etc/nginx/sites-enabled/code-server`):
249
+
If you prefer to use Nginx instead of Caddy here is a sample config (put e.g. in
250
+
`/etc/nginx/sites-enabled/code-server`):
251
+
250
252
```nginx
251
253
server {
252
254
listen 80 [::]:80;
@@ -261,7 +263,9 @@ server {
261
263
}
262
264
}
263
265
```
264
-
It's highly recommended set up a LetsEncrypt certificate and HTTP->HTTPS redirect as well. In order to do this, run `certbot --nginx -d your-domain-name-here.com`.
266
+
267
+
It's highly recommended to set up a LetsEncrypt certificate and HTTP->HTTPS redirect as well.
268
+
In order to do this run `certbot --nginx -d your-domain-name-here.com`.
0 commit comments