【发布时间】:2020-09-29 11:25:39
【问题描述】:
具体我有以下位置:
location / {
root ...;
try_files $uri $uri/ /index.html =404;
....
add_header ....
server_tokens off;
# Does the order of the next 2 lines matter?
include uwsgi_params;
uwsgi_pass django;
}
我想知道其中行的顺序是否重要。特别是关于最后两行。
【问题讨论】:
-
最后两行的顺序应该不重要。你遇到问题了吗?如果有,
uwsgi_params文件中有什么内容? -
我没有遇到问题。只是学习。找不到任何提及此的地方