Initial commit: UlHub workspace
This commit is contained in:
23
nginx/README.md
Normal file
23
nginx/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user