24 lines
504 B
Markdown
24 lines
504 B
Markdown
# Nginx site config for dev.hub.umagul.net
|
|
|
|
Use this config as a site file and symlink it into your nginx configuration directory.
|
|
|
|
Example:
|
|
|
|
```bash
|
|
sudo ln -s /home/ubuntu/ulhub/nginx/dev.hub.umagul.net.conf /etc/nginx/sites-enabled/dev.hub.umagul.net.conf
|
|
sudo nginx -t
|
|
sudo systemctl reload nginx
|
|
```
|
|
|
|
For Let's Encrypt:
|
|
|
|
```bash
|
|
sudo certbot --nginx -d dev.hub.umagul.net
|
|
```
|
|
|
|
If you prefer the standalone flow:
|
|
|
|
```bash
|
|
sudo certbot certonly --webroot -w /var/www/certbot -d dev.hub.umagul.net
|
|
```
|