Commit a4b33386 authored by Sigmund Augdal's avatar Sigmund Augdal

Pass on host header from the original request to upstream

parent 8023b2d5
Pipeline #1679 passed with stage
in 14 seconds
......@@ -4,6 +4,7 @@ server {
set_by_lua $upstream_port 'return os.getenv("upstream_port")';
location / {
proxy_pass http://localhost:${upstream_port};
proxy_set_header Host $host;
rewrite_by_lua_file /usr/local/share/lua/5.1/feide.lua;
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