nginx "An error occurred."
An error occurred.
Sorry, the page you are looking for is currently unavailable.
Please try again later.
If you are the system administrator of this resource then you should check the error log for details.
Faithfully yours, nginx.
=======================
/var/log/nginx/error.log
=======================
2016/08/18 15:07:58 [error] 20970#0: *408 upstream sent too big header while reading response header from upstream, client: 127.0.0.1, server: www.도메인, request: "POST /index.php/member/signin_write/signin_write_ok HTTP/1.1", upstream: "fastcgi://unix:/tmp/php5-fpm.sock:", host: "도메인주소", referrer: "http://도메인주소/member/signin_write"
========================
nginx.conf
========================
http{
proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
}
========================
default.conf
========================
server {
location ~ {
fastcgi_buffer_size 128k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
}
}
=========================
service nginx restart
service php-fpm restart
=========================
참고 url -
http://stackoverflow.com/questions/13894386/upstream-too-big-nginx-codeigniter
http://jpss.ta3ke.com/173
'Server > Nginx' 카테고리의 다른 글
php codeigniter nginx (0) | 2023.09.17 |
---|---|
letsencrypt 보안서버 설치 및 갱신 (0) | 2020.07.01 |
url에서 www를 제거하기 위한 nginx rewrite 설정 (0) | 2017.10.23 |
코드이그나이터 Ninx 에서 사용하기 (0) | 2015.12.04 |
nginx 가상호스트 설정 (0) | 2015.07.11 |