어제에 이어 오늘도 502 에러가 출몰하네요.
일접속자 4만명/동시접속3~500명/트래픽5테라 정도인데..
nginx.conf 랑 php.conf 파일 수정하면서 이리저리 버퍼 숫자 올리면서 테스트하는데
다행히 또 잘되네요 ㅠ
vps 운영하면서 서버관리도 어렴풋이 배우게 되네요.
서버분산하는 기술도 배워야할거 같네요 ㅠ
참조
https://www.datadoghq.com/blog/nginx-502-bad-gateway-errors-php-fpm/
https://askubuntu.com/questions/788739/502-bad-gateway-nginx-php7-fpm
https://github.com/owncloud/client/issues/4299
http://stackoverflow.com/questions/22272943/nginx-cannot-find-unix-socket-file-with-unicorn-no-such-file-or-directory
https://www.digitalocean.com/community/tutorials/how-to-deploy-rails-apps-using-unicorn-and-nginx-on-centos-6-5