Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pages/reverse-proxies/nginx.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ sudo mkdir -p /var/www/certbot/.well-known/acme-challenge && sudo chown -R www-d
```bash
sudo ln -s /etc/nginx/sites-available/<subdomain.domain.tld> /etc/nginx/sites-enabled/
```
Restart nginx to apply the changes: `nginx -s reload`. (Important to do before obtaining SSL certificate below.)
### Obtain SSL Certificates Using Webroot method:
```bash
sudo certbot certonly --webroot -w /var/www/certbot -d <subdomain.domain.tld> --email [email protected] --agree-tos --no-eff-email
Expand Down