Skip to content

Commit

Permalink
Add .html to nginx try_files in web container
Browse files Browse the repository at this point in the history
  • Loading branch information
spectrapulse committed Nov 8, 2024
1 parent a61d0aa commit e7bd4eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docker/nginx.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,12 @@ http {
root /usr/share/nginx/html;

location / {
try_files $uri $uri/ /index.html;
try_files $uri $uri/ $uri.html /index.html;
}

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

0 comments on commit e7bd4eb

Please sign in to comment.