我从nginx 1.18.0切换到apache 2.4.41,而apache仍在使用nginx默认错误页。我用sudo apt-get remove nginx去除了nginx。我使用的是ubuntu 20.04。编辑:启用站点的内容
# The ServerName directive sets the request scheme, hostname and port that
我有一个名为subscribe的Django项目。在根目录urls.py中,我使用了来自subscribe urls.py的include。但当服务器运行在带有virtualenv的nginx+uwsgi上时,我得到了ImportError: No module named subscribe。当我在d13和d14的d15中将subscribe更改为project.subscribe时,将d16更改