generated from hantim/static-site-template
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
*.swp
|
*.swp
|
||||||
|
static/media/
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ server {
|
|||||||
|
|
||||||
# Clean URLs — serve index.html for directories
|
# Clean URLs — serve index.html for directories
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.html;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Cache static assets aggressively
|
# Cache static assets aggressively
|
||||||
|
|||||||
Reference in New Issue
Block a user