mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-29 11:57:20 +02:00
📬 docs: Add Forwarded Headers to Nginx SSL Proxy Template (#12379)
Add X-Forwarded-Proto, X-Forwarded-For and Host headers in nginx proxy config. Addresses #12378.
This commit is contained in:
parent
0c66823c26
commit
3f805d68a1
1 changed files with 6 additions and 0 deletions
|
|
@ -86,9 +86,15 @@ server {
|
|||
|
||||
# location /api {
|
||||
# proxy_pass http://api:3080/api;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# proxy_set_header Host $host;
|
||||
# }
|
||||
|
||||
# location / {
|
||||
# proxy_pass http://api:3080;
|
||||
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
# proxy_set_header Host $host;
|
||||
# }
|
||||
#}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue