In this video, @CodeWithHarry covers how to deploy a Django application to Linode using NGINX and uWSGI to create scalable software.
因为全部部署上去之后,前端调用后台开放的api总是CONNECTION_REFUSED 原来是代理没有在nginx中配好 接下来上代码 nginx代码:server { listen8081; #端口 server_name localhost; #域名或ip location/{ root 打包后的VUE项目--dist文件夹位置; index index.html; } location/api/{ add_header'Access-Control-Allow-...