GithubHelp home page GithubHelp logo

chatgpt_reverse_proxy's Introduction

git clone https://github.com/yumusb/ChatGPT_Reverse_Proxy.git
cd ChatGPT_Reverse_Proxy

vim docker-compose.yaml

- 127.0.0.1:30050:80 # 映射的端口,推荐只监听本地,然后外面再套一层对外访问用.
ACCESS_TOKEN: you_token # 在 https://chat.openai.com/api/auth/session 中的 accessToken 字段
DOMAIN: chat.yourdomain.com # nginx想要绑定的host

docker-compose up -d


如果想要历史会话功能可用的话,将conf.d/openai.conf.template 中 location = /backend-api/conversations 条件 整体注释掉
访问的host字段 需要与 配置项中 的 DOMAIN 对应。

目前为失效状态 2023.03.09 15:38

chatgpt_reverse_proxy's People

Contributors

yumusb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chatgpt_reverse_proxy's Issues

/conversions 和/models总是返回502

/conversions 和/models总是返回502
SSL_do_handshake() failed (SSL: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure) while SSL handshaking to upstream, client: 10.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.