diff --git a/README.md b/README.md index 9ffa1bb7d..ce742dd08 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ This may take around 5 minutes. Certainly better than the several hours it takes ## Configuring -Set up a domain and a wildcard domain pointing to that host. Make sure `/home/git/DOMAIN` is set to this domain. +Set up a domain and a wildcard domain pointing to that host. Make sure `/home/git/VHOST` is set to this domain. By default it's set to whatever the hostname the host has. You'll have to add a public key associated with a username as it says at the end of the bootstrapper. You'll do something @@ -72,7 +72,7 @@ apply). Example: The bootstrap script allows the dokku repository URL to be overridden to bootstrap a host from your own clone of dokku using the DOKKU_REPO environment variable. Example: - $ wget -O bootstrap.sh j.mp/dokku-bootstrap + $ wget https://raw.github.com/progrium/dokku/master/bootstrap.sh $ chmod +x bootstrap.sh $ sudo DOKKU_REPO=https://github.com/yourusername/dokku.git ./bootstrap.sh diff --git a/plugins/nginx-vhosts/post-deploy b/plugins/nginx-vhosts/post-deploy index 30b0dfb4a..2b2650369 100755 --- a/plugins/nginx-vhosts/post-deploy +++ b/plugins/nginx-vhosts/post-deploy @@ -14,6 +14,7 @@ server { proxy_http_version 1.1; proxy_set_header Upgrade \$http_upgrade; proxy_set_header Connection "upgrade"; + proxy_set_header Host \$http_host; } } EOF