Fixed caching settings for server.
Nginx optimizations and fixed headers.