فهرست منبع

chore(reverse_proxy.conf): support rfc7239 # 306

Jacky 11 ماه پیش
والد
کامیت
c1c1094544
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      template/block/reverse_proxy.conf

+ 1 - 0
template/block/reverse_proxy.conf

@@ -47,6 +47,7 @@ location / {
         proxy_set_header X-Real-IP $remote_addr;
         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header X-Forwarded-Proto $scheme;
+        proxy_set_header Forwarded $proxy_add_forwarded;
 
         proxy_pass http://127.0.0.1:{{ .port }}/;
  }