Nginx restart failed

After an upgrade i get nginx restart failed

nginx: [warn] the “listen … http2” directive is deprecated, use the “http2” directive instead in /etc/nginx/conf.d/domains/absstem.live.ssl.conf:8

been trying to fix this by updating but all my websites are down and when i try to login it just redirects back to the login page.

At this point not sure whats going on. Please help.

What version of the panel do you have?

v-list-sys-info

   OS      VER    ARCH    HESTIA  RELEASE  UPTIME  LA
    --      ---    ----    ------  -------  ------  --

Ubuntu 20.04 x86_64 1.9.3 release 5267 0.07 / 0.02

Ubuntu 20 is not supported. Upgrade to ubuntu 22

Also consider the recommendations - Operating system upgrades | Hestia Control Panel

Ubuntu 20.04 is still supported

What is the nginx version >

nginx -v in command line

It looks like you have an outdate template it is an custom one?

nginx version: nginx/1.27.4