From f74e05229c9a7fcccb3efde3432adf589470bb1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 18 Sep 2017 12:21:33 +0200 Subject: [PATCH] Replace pillar-web with blender-cloud, and add HTTPS support Other vhosts are already configured to use the 'blender-cloud' hostname, and now the main one is too. It also adds HTTPS support, so that you can test locally without having to set FORCE_SSL to false. This does require you to create a TLS certificate in /data/certs/blender-cloud.pem, using: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -days 365 -nodes cat key.pem cert.pem > blender-cloud.pem rm key.pem cert.pem --- docker/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 3d1e1d2..940bc3c 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -24,7 +24,7 @@ blender_cloud: container_name: blender_cloud restart: always environment: - VIRTUAL_HOST: http://cloud.blender.org/*,https://cloud.blender.org/*,http://pillar-web/* + VIRTUAL_HOST: http://cloud.blender.org/*,https://cloud.blender.org/*,http://blender-cloud/*,https://blender-cloud/* VIRTUAL_HOST_WEIGHT: 10 FORCE_SSL: "true" GZIP_COMPRESSION_TYPE: "text/html text/plain text/css application/javascript"