sure this is the mime.types file https://gist.github.com/4115943 and persmissions # ls -alh /opt/local/etc/nginx/mime.types -rw-r--r-- 1 root root 3.2K Nov 20 02:43 /opt/local/etc/nginx/mime.types thanks mate for your helpby bach - Nginx Mailing List - English
Thanks Justin, here's how my config looks like. Please note the 2 Pyramid apps at the bottom, from which I am trying to server the json file. Anything obviously wrong with that setup that could be affecting the header? thanks ======================== user www www; worker_processes 1; #error_log /var/log/nginx/error.log; #error_log /var/log/nginx/error.log notice; #error_logby bach - Nginx Mailing List - English
I am having that exact same problem. I've update mime.types config file added application/json json; and restart Nginx a zillion times but still nothing changed! is there any extra step I should do? does that change take time, because of Nginx caching? thanksby bach - Nginx Mailing List - English