Skip to content

Commit

Permalink
update conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Noogen committed Jun 14, 2017
1 parent 6fa018a commit bc99e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/etc/nginx/sites-enabled/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ server {
set $sharpen 0;
set $mycachekey "empty";
set $geojson "";
set $myhost "";

# image_filter_crop_offset {left,center,right} {top,center,bottom};
set $crop_offx left;
Expand Down Expand Up @@ -82,11 +83,10 @@ server {
set $protocol "http";
set $image_uri "$2";
set $cmd "resize";
set $myhost "";
set $image_path "";


# if no protocl in URL, add them
# if no protocol in URL, add them
if ($image_uri !~ "(http:|https:)") {
set $image_uri "http://$image_uri";
}
Expand Down

0 comments on commit bc99e45

Please sign in to comment.