D
D
dimaQd2021-01-05 18:15:48
Django
dimaQd, 2021-01-05 18:15:48

Why did Django drop css on collectstatic?

Hey!
I put the project on the combat server. The static is managed by nginx. Everything works perfectly, except for the css styles of bootsrap, for some reason nginx does not find them. Attached the log, nginx settings and settings.py. With colletcstatic, some files were discarded for some reason.
The admin folder appeared in the static folder.5ff4828ef3c87346999651.png5ff4829675991067307156.png5ff4829b4213d487662600.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dimaQd, 2021-01-06
@dimaQd

In general, as you can see from the get request, nginx cannot find a file with .cs and .css/ resolution. I put an extra slash in the template and missed the letter "s". Everything works great!)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question