I just set up atomic deploys inside my /home/user/web/domain.com/public_html/{releases, shared,current} folder.
Unfortunately, when I set a custom document root in Hestia CP like ‘/home/user/web/domain.com/public_html/current/public’ Hestia seems to resolve it to its real path. So the nginx conf for that domain reads root /home/user/web/domain.com/public_html/releaes/YYYYMMDDHHiis/public
How can I trick Hestia into accepting the symlink, namely current instead of releases/DATE?
(Especially when there’s a DO NOT EDIT THIS FILE note at the very beginning… )
I appreciate the instant feedback. The v-rebuild-web-domain command didn’t do much, but maybe I did not have the correct settings in the admin panel for that?!
The custom template with a %sdocroot%/current/public did the trick. I removed the custom docroot in the admin cp and switched to my custom template and bo0oM.
Thanks!