diff --git a/Makefile b/Makefile index 752218746..c69d5bda4 100644 --- a/Makefile +++ b/Makefile @@ -93,7 +93,7 @@ ifndef CI ifdef DOCKER_VERSION apt-get install -qq -y lxc-docker-${DOCKER_VERSION} else - apt-get install -qq -y lxc-docker + apt-get install -qq -y lxc-docker-1.6.2 endif sleep 2 # give docker a moment i guess endif diff --git a/debian/control b/debian/control index 8397988f5..4aaa8d13c 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,7 @@ Version: 0.3.12 Section: base Priority: optional Architecture: amd64 -Depends: locales, git, make, curl, software-properties-common, lxc-docker (>= 1.4.0), gcc, python-software-properties, man-db, buildstep, sshcommand, pluginhook +Depends: locales, git, make, curl, software-properties-common, lxc-docker-1.6.2, gcc, python-software-properties, man-db, buildstep, sshcommand, pluginhook Pre-Depends: nginx, dnsutils, ruby, ruby-dev, rubygem-rack, rubygem-rack-protection, rubygem-sinatra, rubygem-tilt, apparmor, cgroup-lite Provides: dokku Maintainer: Jose Diaz-Gonzalez diff --git a/plugins/nginx-vhosts/templates/nginx.ssl.conf.template b/plugins/nginx-vhosts/templates/nginx.ssl.conf.template index e30a6a82d..cce5d0faf 100644 --- a/plugins/nginx-vhosts/templates/nginx.ssl.conf.template +++ b/plugins/nginx-vhosts/templates/nginx.ssl.conf.template @@ -2,6 +2,8 @@ server { listen [::]:80; listen 80; server_name $NOSSL_SERVER_NAME; + access_log /var/log/nginx/${APP}-access.log; + error_log /var/log/nginx/${APP}-error.log; return 301 https://\$host\$request_uri; } @@ -9,6 +11,8 @@ server { listen [::]:443 ssl spdy; listen 443 ssl spdy; server_name $SSL_SERVER_NAME; + access_log /var/log/nginx/${APP}-access.log; + error_log /var/log/nginx/${APP}-error.log; $SSL_DIRECTIVES keepalive_timeout 70;