openai-proxy.conf 451 B

1234567891011121314151617
  1. server {
  2. listen 80;
  3. server_name openai-proxy.adwebcloud.com;
  4. location / {
  5. proxy_pass https://api.openai.com/;
  6. proxy_ssl_server_name on;
  7. proxy_set_header Host api.openai.com;
  8. proxy_set_header X-Forwarded-For $remote_addr;
  9. proxy_set_header X-Forwarded-Proto $scheme;
  10. proxy_http_version 1.1;
  11. chunked_transfer_encoding off;
  12. proxy_buffering off;
  13. proxy_cache off;
  14. }
  15. }