Permalink
Browse files

Remove nginx file size limit. #832

  • Loading branch information...
onyxfish committed Jul 23, 2012
1 parent ee0e7b6 commit d47c60255017e0b6edace733176dc0053f4df18d
Showing with 7 additions and 2 deletions.
  1. +1 −0 CHANGELOG
  2. +4 −0 scripts/migrations/0.2.0-to-1.0.0.sh
  3. +1 −1 setup_panda/nginx
  4. +1 −1 setup_panda/nginx_ssl
View
@@ -1,6 +1,7 @@
1.0.0
-----
+* Remove nginx file size upload limitation. (#832)
* Stale data in Solr indexes will no longer break search. (#793)
* Add form for adding users in bulk to admin. (#762)
* Fix broken Change Password and Logout buttons on admin pages. (#795)
@@ -46,6 +46,10 @@ cp setup_panda/datasets_schema.xml /opt/solr/panda/solr/pandadatasets/conf/schem
# Install uwsgi jumpstart configuration
cp setup_panda/uwsgi_jumpstart.conf /etc/init/uwsgi.conf
+# Rewrite nginx configuration
+# (can't just copy new version since they may have enabled ssl)
+sudo sed -i 's/client_max_body_size 1G/client_max_body_size 0/g' /etc/nginx/sites-available/panda
+
# Restart services
service solr start
service uwsgi start
View
@@ -1,7 +1,7 @@
server {
listen 80;
- client_max_body_size 1G;
+ client_max_body_size 0;
location /site_media/ {
alias /var/lib/panda/media/;
View
@@ -9,7 +9,7 @@ server {
ssl_certificate /etc/nginx/panda.crt;
ssl_certificate_key /etc/nginx/panda.key;
- client_max_body_size 1G;
+ client_max_body_size 0;
location /site_media/ {
alias /var/lib/panda/media/;

0 comments on commit d47c602

Please sign in to comment.