gratipay / grtp.co

Gratipay Widgets + API
https://grtp.co/
MIT License
26 stars 19 forks source link

grtp.co front page is being downloaded after nginx reload #96

Closed techtonik closed 9 years ago

techtonik commented 9 years ago

I reloaded nginx after deployment, and was looking how to add .md as a mime type and noticed that the front page is no longer served as .html - http://grtp.co/ - other page - http://grtp.co/v1/ work ok. It could be that I messed with config somehow, but I doubt it. Most likely the changes were there before, and I've just activated them with restart.

This is the config that is active - https://github.com/gratipay/grtp.co/commit/2a1c1b56fc655621b63ea394486c93ab489f3082

/etc/nginx/nginx.conf contains like default_type application/octet-stream;, but the file last modified in Nov 28 2013. What is going on?

techtonik commented 9 years ago

Ok. Looks like I've messed with adding markdown type somehow and browser cached invalid state.