diff --git a/files/etc/nginx/sites-enabled/server.conf b/files/etc/nginx/sites-enabled/server.conf index 19dc2d9..1141eba 100644 --- a/files/etc/nginx/sites-enabled/server.conf +++ b/files/etc/nginx/sites-enabled/server.conf @@ -25,6 +25,7 @@ server { proxy_pass_header P3P; proxy_cache_min_uses 2; proxy_cache resizedimages; + proxy_ssl_server_name on; # valid for "any" http status within 10 minutes proxy_cache_valid any 10m; @@ -224,7 +225,6 @@ server { location /cmd/resize { internal; - proxy_ssl_server_name on; proxy_pass $image_uri$is_args$args; proxy_cache_key $image_uri$is_args$args$slice_range; include /etc/nginx/sites-enabled/proxy-hide-headers.common; @@ -245,7 +245,6 @@ server { location /cmd/crop { internal; - proxy_ssl_server_name on; proxy_pass $image_uri$is_args$args; proxy_cache_key $image_uri$is_args$args$slice_range; include /etc/nginx/sites-enabled/proxy-hide-headers.common;