x-dr
x-dr
最新的支持的 可以用cf_worker反代apenai api 替换掉https://api.openai.com/ [自建教程](https://github.com/x-dr/chatgptProxyAPI/blob/main/README.md)
可以用cf_worker反代apenai api 替换掉https://api.openai.com 我自建了一个https://openai.1rmb.tk [自建教程](https://github.com/x-dr/chatgptProxyAPI/blob/main/README.md) 代码 ``` const TELEGRAPH_URL = 'https://api.openai.com'; addEventListener('fetch', event => { event.respondWith(handleRequest(event.request)) }) async function handleRequest(request) { const url = new URL(request.url); url.host = TELEGRAPH_URL.replace(/^https?:\/\//, '');...
我这样配置没问题 ```conf server { listen 80; listen 443 ssl http2; server_name bingai.xxxxxx.com; ssl_certificate /etc/nginx/conf.d/ssl/cert.pem; ssl_certificate_key /etc/nginx/conf.d/ssl/key.pem; #ssl_session_cache shared:SSL:1m; ssl_session_timeout 5m; ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; ssl_prefer_server_ciphers on; add_header Strict-Transport-Security...