Skip to content

Commit a642933

Browse files
committed
Adapt to the coder style guide
1 parent 7d28e51 commit a642933

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

examples/web-server/nginx/README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
1. Start a Coder deployment with a wildcard subdomain. See [this guide](https://coder.com/docs/v2/latest/admin/configure#wildcard-access-url) for more information.
66

7-
2. You'll need a subdomain and the a wildcard subdomain configured that resolves to server's public ip.
7+
2. Configure your DNS provider to point your YOUR_SUBDOMAIN and \*.YOUR_SUBDOMAIN to your server's public ip.
88

99
> For example, to use `coder.example.com` as your subdomain, configure `coder.example.com` and `*.coder.example.com` to point to your server's public ip. This can be done by adding A records in your DNS provider's dashboard.
1010
@@ -108,9 +108,14 @@
108108
}
109109
```
110110

111-
> Don't forget to change:
112-
>
113-
> - `YOUR_SUBDOMAIN` by your (sub)domain e.g. `coder.example.com`
111+
> Don't forget to change:
112+
> `YOUR_SUBDOMAIN` by your (sub)domain e.g. `coder.example.com`
113+
114+
3. Test the configuration:
115+
116+
```console
117+
sudo nginx -t
118+
```
114119

115120
## Refresh certificates automatically
116121

@@ -135,6 +140,8 @@
135140

136141
## Restart NGINX
137142

138-
- `sudo systemctl restart nginx`
143+
```console
144+
sudo systemctl restart nginx
145+
```
139146

140147
And that's it, you should now be able to access Coder at `https://YOUR_SUBDOMAIN`!

0 commit comments

Comments
 (0)