Restart uWSGI and Nginx
作者:XD / 发表: 2021年7月5日 01:37 / 更新: 2021年7月5日 01:38 / 编程笔记 / 阅读量:2023
The website data is saved in /home/www/blog
. Nginx setting file is in /etc/init.d/
root@dong:/home/www/blog# cd script
root@dong:/home/www/blog/script# uwsgi --stop uwsgi.pid
root@dong:/home/www/blog/script# uwsgi --ini uwsgi.ini
[uWSGI] getting INI configuration from uwsgi.ini
[uwsgi-static] added mapping for /static => /home/www/blog/static
root@dong:/home/www/blog/script# /etc/init.d/nginx restart
[ ok ] Restarting nginx (via systemctl): nginx.service.