Skip to content

Commit

Permalink
fix: правлю конфигураци nginx в соттветсвии с каким-либо пниманием ne…
Browse files Browse the repository at this point in the history
…xt.jsЭ
  • Loading branch information
Denis-Shtanskiy committed Aug 8, 2024
1 parent a1b1e59 commit 1018649
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions infra/nginx/nginx_dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,12 @@ server {
}

location / {
autoindex on;
try_files $uri $uri.html $uri/ =404;
expires -1;
add_header Cache-Control "no-store, no-cache, must-revalidate";
}

error_page 404 /404.html;
location = /404.html {
root /staticfiles;
internal;
}
}

0 comments on commit 1018649

Please sign in to comment.