Fixing logos
This commit is contained in:
@@ -53,6 +53,14 @@ http {
|
||||
return 301 $scheme://$http_host/de/;
|
||||
}
|
||||
|
||||
# Serve logos directly from root (needed for i18n builds)
|
||||
location ~ ^/logo-(dark|light)\.png$ {
|
||||
try_files $uri =404;
|
||||
expires 1y;
|
||||
access_log off;
|
||||
add_header Cache-Control "public, immutable";
|
||||
}
|
||||
|
||||
# Serve each locale
|
||||
location ~ ^/(de|de-DE|en)/ {
|
||||
try_files $uri $uri/ /$1/index.html;
|
||||
|
||||
Reference in New Issue
Block a user