Fix some ordering in the installation instructions. Use an SSL enabled nginx build. Update the location of the list of mime types.

This commit is contained in:
yackob03 2014-01-07 17:01:19 -05:00
parent 9c7f1e6afa
commit 2f86c13c08
5 changed files with 4 additions and 5 deletions

View file

@ -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:

Binary file not shown.

View file

@ -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 _;

View file

@ -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;