Created
February 4, 2020 02:14
-
-
Save Eduard-gan/055bf7d0aee575e429f3105343514ed8 to your computer and use it in GitHub Desktop.
Раздача статики с Nginx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location /static/ { | |
# error_log /home/aa/kek.log debug; # Очень много информации для дебага именно по этому локэйшену. | |
root /home/aa; | |
# Сами файлы лежат в /home/aa/static/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment