Skip to content

Commit

Permalink
Merge pull request #50 from primdahl/proxy-pass-headers-redux
Browse files Browse the repository at this point in the history
Using proxy_params was too heavy handed
  • Loading branch information
rubys authored Aug 1, 2023
2 parents 8292135 + d082ee7 commit ee3b7bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/generators/templates/_nginx.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ server {
}

location @backend {
include proxy_params;
proxy_pass http://localhost:3001;
proxy_set_header Host $http_host;
}
}
EOF
2 changes: 1 addition & 1 deletion test/results/nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ server {
}

location @backend {
include proxy_params;
proxy_pass http://localhost:3001;
proxy_set_header Host $http_host;
}
}
EOF
Expand Down

0 comments on commit ee3b7bf

Please sign in to comment.