I recently received this: /usr/local/hestia/bin/v-restart-proxy: line 28: nginx: command not found.
I then reinstalled nginx on my server, now i can access my webmail or website, i get this page saying: Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org.
Commercial support is available at nginx.com.
Thank you for using nginx.
If you still have the directory /etc/nginx/conf.d/domains/
with the symbolic links there:
ls -l /etc/nginx/conf.d/domains/
try this
cp -f /usr/local/hestia/install/deb/nginx/nginx.conf /etc/nginx/
cp -f /usr/local/hestia/install/deb/nginx/status.conf /etc/nginx/conf.d/
cp -f /usr/local/hestia/install/deb/nginx/0rtt-anti-replay.conf /etc/nginx/conf.d/
cp -f /usr/local/hestia/install/deb/nginx/agents.conf /etc/nginx/conf.d/
cp -f /usr/local/hestia/install/deb/nginx/cloudflare.inc /etc/nginx/conf.d/
cp -f /usr/local/hestia/install/deb/nginx/phpmyadmin.inc /etc/nginx/conf.d/
cp -f /usr/local/hestia/install/deb/nginx/phppgadmin.inc /etc/nginx/conf.d/
systemctl restart nginx
1 Like
Thanks for the help. Access to webmail login for both domains still display the Welcome to Nginx, unable to sign in or check emails, it seem to have affacted SMTP as well connection always time-out
take backups using v-backup-users and restore on a fresh server. That will be the fastest way to get back online.
1 Like