Commit be00a306 authored by Mike Greiling's avatar Mike Greiling

Pass the HTTP host header to webpack-dev-server

parent 66a6e85f
......@@ -19,6 +19,7 @@ module Gitlab
# disable SSL check since any cert used here will likely be self-signed
def rewrite_env(env)
env["rack.ssl_verify_none"] = true
env["HTTP_HOST"] = @proxy_host
env
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment