Skip to content

Commit

Permalink
support sni ssl
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Noogen committed Jun 14, 2017
1 parent 69e57ca commit 7c1648e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions files/etc/nginx/sites-enabled/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 7c1648e

Please sign in to comment.