国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

python - 如何部署兩個(gè)Flask項(xiàng)目?
PHP中文網(wǎng)
PHP中文網(wǎng) 2017-04-17 17:11:49
0
1
411
PHP中文網(wǎng)
PHP中文網(wǎng)

認(rèn)證高級(jí)PHP講師

reply all(1)
PHPzhong

Start two uwsgi on different ports. Note that the logs and pid are also separated.

You are mainly not familiar with nginx configuration. In fact, just add a server paragraph:

    server {
        listen       80;
        server_name  A的域名;

        location / {
            include uwsgi_params;
            uwsgi_pass 127.0.0.1:A的uwsgi端口; 
            root   html;
            index  index.html index.htm;
        }
    }
    server {
        listen       80;
        server_name  B的域名;

        location / {
            include uwsgi_params;
            uwsgi_pass 127.0.0.1:B的uwsgi端口; 
            root   html;
            index  index.html index.htm;
        }
    }
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template