我在django编写的digitalocean中部署了我的Web应用程序。现在,我更改并在其中添加一些文件。我更改了模板文件夹,还在静态文件夹中添加了一些照片。更改后,我从github的服务器应用目录中提取更改。但是我看不到变化。我停止了nginx服务器。我使用此命令
sudo systemctl start nginx
sudo systemctl stop nginx
sudo systemctl restart nginx
然后我再次开始,但是没有任何变化。我该怎么办?
答案 0 :(得分:0)
要重新加载Django应用,请重新启动gunicorn
服务。
sudo systemctl restart gunicorn