From 444e4276db2f2c08e73f5d770bfcb0a8af5e18ac Mon Sep 17 00:00:00 2001 From: Tom Noogen Date: Wed, 14 Jun 2017 14:32:20 -0500 Subject: [PATCH] fix host --- files/etc/nginx/sites-enabled/server.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/etc/nginx/sites-enabled/server.conf b/files/etc/nginx/sites-enabled/server.conf index 93bd5ff..ed0ca9a 100644 --- a/files/etc/nginx/sites-enabled/server.conf +++ b/files/etc/nginx/sites-enabled/server.conf @@ -224,7 +224,7 @@ server { location /cmd/resize { internal; - proxy_ssl_server_name on; + proxy_ssl_name $myhost; proxy_set_header Host $myhost; proxy_pass $image_uri$is_args$args; proxy_cache_key $image_uri$is_args$args$slice_range; @@ -246,7 +246,7 @@ server { location /cmd/crop { internal; - proxy_ssl_server_name on; + proxy_ssl_name $myhost; proxy_set_header Host $myhost; proxy_pass $image_uri$is_args$args; proxy_cache_key $image_uri$is_args$args$slice_range;