In previous nginx config:
server {
listen *:80;
The new one:
server {
listen 0.0.0.0:80;
listen [::]:80;
Previous only accept IPv4 but latest accept IPv4 and IPv6.
You can back to previous code with copy /home/nginx/tpl/defaults.conf.tpl and domains.conf.tpl to custom.default.conf.tpl and custom.domains.conf.tpl and then modified this custom files:
from
listen 0.0.0.0:<?php echo $port; ?>;
listen [::]:<?php echo $port; ?>;
to:
listen *:<?php echo $port; ?>;
and
listen 0.0.0.0:<?php echo $port; ?><?php echo $asdefault; ?>;
listen [::]:<?php echo $port; ?><?php echo $asdefault; ?>;
to:
*:<?php echo $port; ?><?php echo $asdefault; ?>;
and then run 'sh /script/fixweb; sh /script/restart-services'.