while testing nginx configuration i have come accross these warnings.
root@ba762e963f0d:/# service nginx configtest
2020/03/19 11:46:53 [warn] 296#296: duplicate MIME type "text/html" in /etc/nginx/nginx.conf:81
nginx: [warn] duplicate MIME type "text/html" in /etc/nginx/nginx.conf:81
2020/03/19 11:46:53 [warn] 296#296: the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/default.conf:43
nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/conf.d/default.conf:43
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
while testing nginx configuration i have come accross these warnings.