Skip to content

Commit 131c2e6

Browse files
authored
Updated nginx.mdx to remind about reloading nginx after adding conf file
1 parent bf2413f commit 131c2e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pages/reverse-proxies/nginx.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ sudo mkdir -p /var/www/certbot/.well-known/acme-challenge && sudo chown -R www-d
5454
```bash
5555
sudo ln -s /etc/nginx/sites-available/<subdomain.domain.tld> /etc/nginx/sites-enabled/
5656
```
57+
Restart nginx to apply the changes: `nginx -s reload`. (Important to do before obtaining SSL certificate below.)
5758
### Obtain SSL Certificates Using Webroot method:
5859
```bash
5960
sudo certbot certonly --webroot -w /var/www/certbot -d <subdomain.domain.tld> --email [email protected] --agree-tos --no-eff-email

0 commit comments

Comments
 (0)