plausible-hosting/reverse-proxy/nginx
Mario Bašić 9827f5ace7
Instructs Nginx to listen on both IPv6 and IPv4
On a server which has IPv6 configured, `sudo certbot --nginx` would fail because certbot looks for both A and AAAA DNS records, and if AAAA (IPv6) is found it uses that. 

By adding:

```
listen 80;
listen [::]:80;
```

issue #22 is solved. Servers which have only IPv4 configured will continue working normally.
2020-12-03 16:53:43 +01:00
..
plausible Instructs Nginx to listen on both IPv6 and IPv4 2020-12-03 16:53:43 +01:00