Hello Yunohost guys,
I’m quite a noob, and I inadventandly deleted a .conf file in /etc/nginx/conf.d
I told to myself, no problem, just delete and re-create yunohost domain…?
I appear that the script is smart enough to say Warning: The configuration file '/etc/nginx/conf.d/████████████████.fr.conf' has been manually removed and will not be created
Damned. Do you know some magic trick to force it to recreate ?
Regards.
Try to do : yunohost service regen-conf nginx --dry-run -d
That will do a “dry-run” of the conf regen for nginx, i.e. showing you what it would do without actually doing it. (Maybe you need to add --force ? Not sure…)
If you are happy with this (e.g. check that it wouldn’t overwrite any other manual change you did in other nginx conf files ?), then do : yunohost service regen-conf nginx --force