
配置&杂类
「已注销」
顺其自然
展开
-
阿里云 nginx+php+wordpress 403错误
按照网上的方法更改文件权限,添加.htaccess文件后都没有作用,访问博客页面仍然报403错误,此时打开/etc/nginx/sites-enabled/default文件,发现# Add index.php to the list if you are using PHPindex index.html index.htm index.nginx-debian.html index....原创 2018-05-05 16:16:07 · 2119 阅读 · 0 评论 -
UWSGI + NGINX 502 Bad Gateway
UWSGI + NGINX 502 Bad Gateway最近进行uwsgi+nginx+django在阿里云上的部署小实验,发现502 Bad Gateway,于是记录下解决方案:uwsgi的ini文件内容如下:[uwsgi]socket=:8000plugin=python3wsgi-file=test.pymaster=trueprocesses=1threads=1...原创 2018-05-01 11:55:00 · 3979 阅读 · 0 评论