페이지 트리


본 예는 chatting 창에 500MB 크기의 파일을 등록할 수 있도록 설정한다 (전송 overhead 로 인해 실제 파일 크기는 480MB 이하 일 수 있음).

/hipchat/webcore/current/public/app-4.0.0.js

  • max_upload_size=500;
  • Browser refresh

 HipChat Server 수정

500MB 설정 예) MAX_FILE_SIZE = 500 * 1024 * 1024 # 500 MB

/hipchat-scm/tetra/vendor/virtualenv/lib/python2.7/site-packages/txhipchat/storage/file_manager.py

/hipchat-scm/barb/vendor/virtualenv/lib/python2.7/site-packages/txhipchat/storage/file_manager.py

/hipchat-scm/coral/vendor/virtualenv/lib/python2.7/site-packages/txhipchat/storage/file_manager.py

/hipchat-scm/integrations/vendor/virtualenv/lib/python2.7/site-packages/txhipchat/storage/file_manager.py


/hipchat-scm/tetra/vendor/virtualenv/lib/python2.7/site-packages/txhipchat/helpers/files.py

/hipchat-scm/barb/vendor/virtualenv/lib/python2.7/site-packages/txhipchat/helpers/files.py

/hipchat-scm/coral/vendor/virtualenv/lib/python2.7/site-packages/txhipchat/helpers/files.py

/hipchat-scm/integrations/vendor/virtualenv/lib/python2.7/site-packages/txhipchat/helpers/files.py

HipChat restart

$ hipchat service --restart

/etc/nginx/includes/web-site

  • client_max_body_size 500m;
  • section 모두 변경
  • nginx service reload 후 적용됨

    $ service nginx reload

/etc/php5/fpm/php.ini

  • upload_max_filesize = 500M
  • php5-fpm 서비스 재시작 후 적용됨

    $ /etc/init.d/php5-fpm restart


  • 레이블 없음