diff --git a/lib/generators/templates/_nginx.erb b/lib/generators/templates/_nginx.erb index 5696166..6fe5319 100644 --- a/lib/generators/templates/_nginx.erb +++ b/lib/generators/templates/_nginx.erb @@ -27,8 +27,8 @@ server { } location @backend { + include proxy_params; proxy_pass http://localhost:3001; - proxy_set_header origin 'http://localhost:3000'; } } EOF diff --git a/test/results/nginx/Dockerfile b/test/results/nginx/Dockerfile index efbad9f..2aec822 100644 --- a/test/results/nginx/Dockerfile +++ b/test/results/nginx/Dockerfile @@ -71,8 +71,8 @@ server { } location @backend { + include proxy_params; proxy_pass http://localhost:3001; - proxy_set_header origin 'http://localhost:3000'; } } EOF