server { listen 80; server_name lahrcarpetcleaning.com www.lahrcarpetcleaning.com; root /usr/share/nginx/html; index index.html; location / { try_files $uri $uri/ $uri/index.html =404; } error_page 404 /404.html; error_page 500 502 503 504 /500.html; location ~* \.(jpg|jpeg|png|gif|ico|css|js|svg|woff|woff2|ttf)$ { expires 30d; add_header Cache-Control "public, immutable"; } location ~ /\. { deny all; } location ~* \.(env|Dockerfile|dockerignore|yml|yaml|md|planning)$ { deny all; } }