Skip to content

Commit

Permalink
Merge pull request #49 from primdahl/proxy-pass-headers
Browse files Browse the repository at this point in the history
Improve nginx proxy headers
  • Loading branch information
rubys authored Aug 1, 2023
2 parents cb5dbd4 + 66f227e commit 33d111e
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 origin 'http://localhost:3000';
}
}
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 origin 'http://localhost:3000';
}
}
EOF
Expand Down

0 comments on commit 33d111e

Please sign in to comment.