V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
suxixi
V2EX  ›  OpenAI

chatgpt nginx 反代

  •  
  •   suxixi · 330 天前 · 774 次点击
    这是一个创建于 330 天前的主题,其中的信息可能已经有所发展或是发生改变。
    user www www;
    worker_processes auto;

    worker_rlimit_nofile 51200;

    stream {
    log_format tcp_format '$time_local|$remote_addr|$protocol|$status|$bytes_sent|$bytes_received|$session_time|$upstream_addr|$upstream_bytes_sent|$upstream_bytes_received|$upstream_connect_time';

    }

    events
    {
    use epoll;
    worker_connections 51200;
    multi_accept on;
    }

    http {

    include mime.types;
    default_type application/octet-stream;

    proxy_buffering off;

    limit_req_zone $binary_remote_addr zone=one:10m rate=20r/m;



    server {
    listen 80;
    server_name gpt.aigcfast.com;

    location /v1/ {
    proxy_pass https://api.openai.com;
    proxy_set_header Host api.openai.com;
    proxy_set_header X-Real-IP $remote_addr;
    }



    }

    }

    ---------------------------------分隔符-----------------------------------

    无限制的 chatgpt 地址
    https://gpt.aigcfast.com/
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3629 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 10:50 · PVG 18:50 · LAX 03:50 · JFK 06:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.