diff --git a/README.md b/README.md index 06bf80d4d..7018c76a1 100644 --- a/README.md +++ b/README.md @@ -3,16 +3,17 @@ to prepare a new host: ``` sudo apt-get update sudo apt-get install -y git python-virtualenv python-dev phantomjs libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev libevent-dev gdebi-core -sudo gdebi --n binary_dependencies/*.deb ``` check out the code: ``` git clone https://bitbucket.org/yackob03/quay.git +cd quay virtualenv --distribute venv source venv/bin/activate pip install -r requirements.txt +sudo gdebi --n binary_dependencies/*.deb ``` running: diff --git a/binary_depdencies/nginx_1.4.2-nobuffer-1_amd64.deb b/binary_depdencies/nginx_1.4.2-nobuffer-1_amd64.deb deleted file mode 100644 index b1e1208fe..000000000 Binary files a/binary_depdencies/nginx_1.4.2-nobuffer-1_amd64.deb and /dev/null differ diff --git a/binary_dependencies/nginx_1.4.2-nobuffer-1_amd64.deb b/binary_dependencies/nginx_1.4.2-nobuffer-1_amd64.deb new file mode 100644 index 000000000..7f3119b61 Binary files /dev/null and b/binary_dependencies/nginx_1.4.2-nobuffer-1_amd64.deb differ diff --git a/nginx-staging.conf b/nginx-staging.conf index 8fc2389f2..bbb98057b 100644 --- a/nginx-staging.conf +++ b/nginx-staging.conf @@ -11,7 +11,7 @@ events { http { types_hash_max_size 2048; - include /etc/nginx/mime.types; + include /usr/local/nginx/conf/mime.types.default; default_type application/octet-stream; access_log /mnt/nginx/nginx.access.log combined; @@ -35,13 +35,11 @@ http { } server { - listen 80 default_server; server_name _; rewrite ^ https://$host$request_uri? permanent; } server { - listen 443 default; client_max_body_size 8G; client_body_temp_path /mnt/nginx/client_body 1 2; server_name _; diff --git a/nginx.conf b/nginx.conf index c42edb1a4..1a875ad85 100644 --- a/nginx.conf +++ b/nginx.conf @@ -11,7 +11,7 @@ events { http { types_hash_max_size 2048; - include /etc/nginx/mime.types; + include /usr/local/nginx/conf/mime.types.default; default_type application/octet-stream; access_log /tmp/nginx.access.log combined;