79249735

Date: 2024-12-04 02:41:57
Score: 0.5
Natty:
Report link

In my case I had to add listen [::]:80 for ipv6 as well. After that - it works.

server {
    listen 80;
    listen [::]:80;
    server_name my-site.com;

    root /var/www/html;
    index index.html;
    .....
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ihormillion