运维网's Archiver
论坛
›
nginx
› nginx+uwsgi配置django1.5运行环境
wendu
发表于 2018-11-11 06:23:21
nginx+uwsgi配置django1.5运行环境
server {
listen 80;
server_name func.mysite.com;
location / {
root /www/FUNCMG/FUNCMG;
default_type text/html;
include uwsgi_params;
uwsgi_pass 127.0.0.1:8000;
}
location ~/static {
root /www/FUNCMG/;
}
}
页:
[1]
查看完整版本:
nginx+uwsgi配置django1.5运行环境