# Add new entry Create a new configuration inside `/nginx/site-available` (name format : site domain name) Clone config on gateway server ```sh # 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 ```sh cd gateway sudo cp 50x.html /usr/share/nginx/html/ ```