nginx codeigniter 502 bad gateway

前端 未结 4 2040
抹茶落季
抹茶落季 2021-01-06 15:52

The config of nginx is as follows:

server {
        listen       80;
        server_name  www.example.com;

        root   /home/wwwroot/example.com;
                


        
4条回答
  •  伪装坚强ぢ
    2021-01-06 16:48

    please add the following line to Nginx configuration file /etc/nginx/nginx.conf

    http {
        ...
        fastcgi_buffers 8 16k;
        fastcgi_buffer_size 32k;
        ...
    }
    

    reference

提交回复
热议问题