Ok I guess I should have been more clear. This is a debian package issue
in that the debian package is linking the default site default ->
/etc/nginx/sites-available/default Which contains 2 listen lines as I
listed before
listen 80 default_server; listen [::]:80 default_server; After digging
further into this I discovered it was IPv6 line that was causing the
issue. listen [::]:80 default_server; We disable IPv6 on our servers. I
did not run into this on Ubuntu 18.04. It appears there was a lot of
changes to how debian packaged nginx between the 2 OS releases. With
these changes there appears to be a lot of changes to the default. I
suggest not trying to link the default and not attempting to do a
restart. Just a suggestion though.
Now I am trying to find a way to get passed this issue as we build an
entire server via debian packages. I can not have a package error out in
my build process.
On 10/7/2022 11:45 AM, Debian Bug Tracking System wrote:
This is an automatic notification regarding your Bug report
which was filed against the nginx-common package:
#1021393: error in package nginx-common_1.18.0-6ubuntu14.2_all.deb for ubuntu
22.04 with default enabled site.
It has been closed by Thomas Ward<tew...@thomas-ward.net>.
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Thomas
Ward<tew...@thomas-ward.net> by
replying to this email.