Answer the question
In order to leave comments, you need to log in
NGINX assigns Content-Type:text/html to images, how to fix?
nginx site-enable settings:
location /media {
alias /var/www/prestigekozha.ru/koja/media;
}
location /static {
alias /var/www/prestigekozha.ru/koja/static;
}
Answer the question
In order to leave comments, you need to log in
Add mime types to config
Service for tips on configuring nginx https://nginxconfig.io/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question