Sanic, gUnicorn, Nginx 삽질일기 2)
두둥! access log가 남지 않는 초유의 사태가 발생했다. 근데 errorlog에 저렇게 남겨줬더니 access log가 찍힌다 이유가 뭘까?.... 이렇게 설정 잡아주기 전에는 파일이 아니라 콘솔에 찍혀서 미친줄 알았다... gunicorn_config.py import datetime now = str(datetime.datetime.now()).replace('-', '').replace(' ', '') file_name = '{}_{}'.format(now[0:8], now[8:13]) #default settings workers = 몇개나? worker_class = 'sanic.worker.GunicornWorker' bind = 'unix:/소켓파일' user = 'root' erro..