默认 nginx 不支持 log自动分割 windows下 解决方案: 1.首先创建bat脚本 split_log.bat , 并保存在nginx 目录下: @echo off rem 查看系统中正在运行的nginx进程 rem tasklist /fi "imagename eq nginx.exe" rem 备份并根据时间重命名访问日志文件 NET STOP "nginx" set "cmdstr=move C:\nginx\logs\a…
cookies的值超出了范围我是说 看看了一下日志 错误502 upstream sent too big header while reading response header from upstream sudo gedit /var/log/nginx/error.log 查看错误日志 upstream sent too big header while reading response header from upstream 你去搜这个错误,网上的解释都差不多,无外乎是cookie携…
https://uwsgi.readthedocs.io/en/latest/tutorials/Django_and_nginx.html Setting up Django and your web server with uWSGI and nginx This tutorial is aimed at the Django user who wants to set up a production web server. It takes you through the steps re…