Skip to content

Commit 83a2fd0

Browse files
olblakCopilot
andcommitted
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 2d27ff5 commit 83a2fd0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docker/nginx/conf.d/default.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ server {
1212
try_files /assets/$1 =404;
1313
}
1414

15-
location = /favicon.ico {
15+
# Serve favicon regardless of any subpath prefix.
16+
# Handles e.g. /udash/favicon.ico -> /favicon.ico
17+
location ~ (^|.*/)favicon\.ico$ {
1618
try_files /favicon.ico =404;
1719
}
1820

0 commit comments

Comments
 (0)