Skip to content

Commit

Permalink
pass the origin host for pxoy
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Noogen committed Jun 14, 2017
1 parent 7b78d3b commit 6fa018a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions files/etc/nginx/sites-enabled/server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ server {
internal;

proxy_ssl_server_name on;
proxy_set_header Host $myhost;
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,6 +247,7 @@ server {
internal;

proxy_ssl_server_name on;
proxy_set_header Host $myhost;
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 6fa018a

Please sign in to comment.