server { server_name erp.shudou.cn listen 80; location / { proxy_pass http://127.0.0.1:8069; } } server { server_name shudou.cn www.shudou.cn listen 80; charset utf-8; location / { include uwsgi_params; uwsgi_pass 127.0.0.1:8997; uwsgi_param UWSGI_SCRIPT odoosaas.wsgi; uwsgi_param UWSGI_CHDIR /opt/odoosaas/; } location /static/ { alias /opt/odoosaas/static/; } }
标签:服务,cn,odoosaas,nginx,shudou,location,server,uwsgi From: https://www.cnblogs.com/pythonClub/p/17766077.html