nginx_redash_site causes `a duplicate default server for`


I report a trivial error.

After I run sh setup/amazon_linux/ on an amazon linux, nginx -t -c /etc/nginx/nginx.conf shows the following error message.

nginx: [emerg] a duplicate default server for in /etc/nginx/nginx.conf:38
nginx: configuration file /etc/nginx/nginx.conf test failed

I think that this error is caused by a repeat of the listen directive in both /etc/nginx/nginx.conf and /etc/nginx/conf.d/redash.conf.

# in /etc/nginx/nginx.conf
    listen       80 default_server;
    listen       [::]:80 default_server;
# /etc/nginx/conf.d/redash.conf
    listen 80 default;

Perhaps you could remove listen 80 default; from /etc/nginx/conf.d/redash.conf.