server { listen 80; index index.html; error_log /var/log/nginx/error.log; access_log /var/log/nginx/access.log; root /var/www/; location / { try_files $uri $uri/ /index.php?$query_string; gzip_static on; } }