Fix path remapping and add forwarded content length
This commit is contained in:
parent
c5b7f7c3e2
commit
9897b9bcf3
2 changed files with 14 additions and 4 deletions
|
@ -1,6 +1,10 @@
|
|||
http://localhost:8001 {
|
||||
forward_auth http://localhost:8080 {
|
||||
uri /auth
|
||||
|
||||
header_up X-Forwarded-Content-Length {header.content-length}
|
||||
|
||||
copy_headers Remote-User
|
||||
}
|
||||
|
||||
templates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue