ft_transcendence/nginx/conf/locations/icons.conf
2026-01-16 15:52:44 +01:00

10 lines
205 B
Text

#forward the post request to the microservice
location /api/icons/ {
proxy_pass http://app-icons;
}
location /icons/ {
root /volumes/;
default_type image/png;
add_header Cache-Control "max-age=30";
}