server { listen 8080; server_name _; root /usr/share/nginx/html; index football.html index.html; location / { try_files $uri $uri/ /football.html; } location ~* \.(html|js|css)$ { add_header Cache-Control "public, max-age=3600"; } gzip on; gzip_types text/html text/css application/javascript; }