Skip to content

Commit c1c1094

Browse files
committed
chore(reverse_proxy.conf): support rfc7239 # 306
1 parent 6302454 commit c1c1094

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

template/block/reverse_proxy.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ location / {
4747
proxy_set_header X-Real-IP $remote_addr;
4848
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
4949
proxy_set_header X-Forwarded-Proto $scheme;
50+
proxy_set_header Forwarded $proxy_add_forwarded;
5051

5152
proxy_pass http://127.0.0.1:{{ .port }}/;
5253
}

0 commit comments

Comments
 (0)