Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は初心者です。WindowsでApacheサーバーをセットアップしました。しかし、今は静的ファイルを提供するためにnginxが必要であり、静的ファイルを提供するようにnginxを構成する方法をほぼどこでも検索し、多くの答えを得たと思いますが、理解するのは困難でした. 初心者の観点から、どこから始めて、Windows で nginx と django を構成する方法を説明してもらえますか。どんな助けでも大歓迎です。ありがとうございました!
あなたのセクションで次のようなことを試してくださいserver:
server
location /static/ { root /the_directory_with_your_files/; }