504 B
504 B
Nginx site config for dev.hub.umagul.net
Use this config as a site file and symlink it into your nginx configuration directory.
Example:
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:
sudo certbot --nginx -d dev.hub.umagul.net
If you prefer the standalone flow:
sudo certbot certonly --webroot -w /var/www/certbot -d dev.hub.umagul.net