mirror of
https://github.com/mcloh/codex-chatgpt-mcp-proxy.git
synced 2026-11-05 21:34:11 +00:00
13 lines
522 B
Plaintext
13 lines
522 B
Plaintext
# Optional alternative for an existing Nginx proxy. Inspect existing config first.
|
|
# Inside an existing TLS vhost whose server_name comes from deployment configuration:
|
|
location / {
|
|
proxy_pass http://codex-bridge:8000;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_http_version 1.1;
|
|
proxy_buffering off;
|
|
proxy_read_timeout 90s;
|
|
}
|
|
# The app ignores forwarded headers entirely; it uses BRIDGE_PUBLIC_URL for metadata.
|