2026-01-18 11:06:59 +01:00
2026-01-11 16:50:23 +01:00
2026-01-11 16:49:41 +01:00
2026-01-18 11:06:59 +01:00

Add new entry

Create a new configuration inside /nginx/site-available (name format : site domain name) Clone config on gateway server

# Add certificate through certbot
sudo certbot certonly --dns-ovh --dns-ovh-credentials ~/<.secret>/certbot/ovh.ini -v -d ${conf_name}
# Link configuration in nginx
sudo ln -s /etc/nginx/sites-available/${conf_name} /etc/nginx/sites-enabled
# Test config
sudo nginx -t
# Restart nginx
sudo systemctl restart nginx.service

Add error pages

cd gateway
sudo cp 50x.html /usr/share/nginx/html/
Description
No description provided
Readme 47 KiB
Languages
HTML 100%