server { listen 80; server_name pim.kunis.nl; index index.html index.htm; root /var/www/blog; location / { try_files $uri $uri/ /index.html; } location ~* \.(?:ico|css|js|gif|jpe?g|png)$ { expires 30d; add_header Pragma public; add_header Cache-Control "public"; } error_page 404 /404.html; }