Skip to content

Commit

Permalink
enable ssl server name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Noogen committed Jun 14, 2017
1 parent 444e427 commit 69e57ca
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions files/etc/nginx/sites-enabled/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,7 @@ server {
location /cmd/resize {
internal;

proxy_ssl_name $myhost;
proxy_set_header Host $myhost;
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 @@ -246,8 +245,7 @@ server {
location /cmd/crop {
internal;

proxy_ssl_name $myhost;
proxy_set_header Host $myhost;
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 69e57ca

Please sign in to comment.