Hello, all - I'm having an issue with the new httpd recognizing mime types for certain files, and may have run into a bigger issue with mime types in general.
Using a minimal configuration: ext_addr="egress" include "/etc/nginx/mime.types" ## OR types { text/html html htm; # should be something like this by default # anyway? } server "default" { listen on $ext_addr port 80 } With "httpd -n", I'll either get: /etc/nginx/mime.types:5: failed to add media type /etc/nginx/mime.types:14: syntax error /etc/nginx/mime.types:20: syntax error /etc/nginx/mime.types:29: syntax error /etc/nginx/mime.types:63: syntax error /etc/nginx/mime.types:81: syntax error /etc/nginx/mime.types:87: syntax error /etc/nginx/mime.types:94: syntax error or: /etc/httpd.conf:4: failed to add media type This leads me to believe there's probably an issue on my machines with the "default" mime types not being loaded, and why *.html files are displayed fine, but *.htm files treated as binary. Many thanks!