Fix image

This commit is contained in:
gprunet
2026-01-23 17:04:22 +01:00
parent d1b28549ee
commit 471be08fd7
5 changed files with 16 additions and 6 deletions
+8
View File
@@ -27,4 +27,12 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location /avatar/ {
proxy_pass http://backend:3001/avatar/;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_hide_header Content-Type;
add_header Cache-Control "public, max-age=3600";
}
}