mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00

* Rename .github/PULL_REQUEST_TEMPLATE/PULL-REQUEST.md to .github/pull_request_template.md fix: Pull Request Template Location * documents -> docs * Update windows_install.md Fix: Docker hyperlink * Update linux_install.md Fix: Layout (step 6) * Rename docs/contributions/code_of_conduct.md to CODE_OF_CONDUCT.md fix: Code of Conduct location according to GitHub's Guide * Update CODE_OF_CONDUCT.md Update: Contact info * Update README.md Update: Code of Conduct hyperlink in TOC * Update CODE_OF_CONDUCT.md Update: Link to ReadMe * Update CONTRIBUTORS.md update: add new name to the list * Update and rename docs/contributions/contributor_guidelines.md to CONTRIBUTING.md fix: change location according to GitHub's standards * Delete CONTRIBUTORS.md delete: contributor.md from root (already present in readme) * Update SECURITY.md * Update CONTRIBUTING.md Update discord link to point to rules * Update README.md Update discord link to point to rules * Update README.md fix: ToC
986 B
986 B
Proxy
If your server cannot connect to the chatGPT API server by some reason, (eg in China). You can set a environment variable PROXY
. This will be transmitted to node-chatgpt-api
interface.
Warning: PROXY
is not reverseProxyUrl
in node-chatgpt-api
Set up proxy in local environment
- Option 1: system level environment
export PROXY="http://127.0.0.1:7890"
- Option 2: set in .env file
PROXY="http://127.0.0.1:7890"
Change http://127.0.0.1:7890
to your proxy server
Set up proxy in docker environment
set in docker-compose.yml file, under services - api - environment
api:
...
environment:
...
- "PROXY=http://127.0.0.1:7890"
# add this line ↑
Change http://127.0.0.1:7890
to your proxy server