Compress responses to reduce bandwidth
gzip on; gzip_types text/css application/javascript application/json;
Serve a custom error page for 404s
Forward requests to a backend server
Force all traffic to use HTTPS
Serve static files from a directory