Answer: Create or update the system requirements.toml on a test computer and add a [config_server] table with the base URL of your configuration server, using /etc/codex/requirements.toml on Linux and macOS or %ProgramData%\OpenAI\Codex\requirements.toml on Windows. If your server requires sign-in, also add a [config_server.oauth] table to the same file. Status: Confirmed Entry: tool/codex/admin-and-enterprise/configure-codex-config-server Revision: 1 Digest: sha256:a8b5f75e5d1c8883 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:49:36Z Last changed: 2026-11-13T03:49:36Z Last verified: 2026-11-20T13:37:35Z Next check: 2026-11-21T13:37:35Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Config table | [config_server] | [1] | 2026-11-20 Linux/macOS path | /etc/codex/requirements.toml | [1] | 2026-11-20 Windows path | %ProgramData%\OpenAI\Codex\requirements.toml | [1] | 2026-11-20 Example base_url | https://codex-config.example.com/team | [1] | 2026-11-20 OAuth table | [config_server.oauth] | [1] | 2026-11-20 Example redirect_port | 43127 | [1] | 2026-11-20 Sources: [1] OpenAI. "Self-host Codex configuration for your team". https://learn.chatgpt.com/docs/enterprise/configuration-server.md Role: primary. Accessed: 2026-11-20T13:37:35Z Quote: "Add a `[config_server]` table with the base URL of your configuration server." (Supports: Config table) Quote: "Use `/etc/codex/requirements.toml` on Linux and macOS" (Supports: Linux/macOS path) Quote: "or `%ProgramData%\OpenAI\Codex\requirements.toml` on Windows." (Supports: Windows path) Quote: "base_url = "https://codex-config.example.com/team"" (Supports: Example base_url) Quote: "add `[config_server.oauth]` to the same `requirements.toml` file." (Supports: OAuth table) Quote: "redirect_port = 43127" (Supports: Example redirect_port) Snapshot SHA-256: 0f7e321b1c6de715ba84444f133b8f891977cd9a1d3aaae2359ee57f16fc1d17 (captured 2026-11-13T03:49:36Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:49:36Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:37:35Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:37:35Z Last attempt: 2026-11-20T13:37:35Z Notes and limitations: Extracted automatically from a single official source (section "Configure Codex to use the server"). Related: https://latestn.com/tool/codex/admin-and-enterprise/configure-gateway-provider How do I configure Codex to connect to my organization's model gateway? https://latestn.com/tool/codex/admin-and-enterprise/configure-managed-requirements-defaults How do I configure managed requirements and defaults for Codex and ChatGPT Work in the Admin Console? https://latestn.com/tool/codex/admin-and-enterprise/connect-prisma-airs How do I connect Prisma AIRS to my Codex workspace? https://latestn.com/tool/codex/admin-and-enterprise/codex-scope-analytics-access Does the Codex enterprise analytics scope grant access to the ChatGPT Daily Usage Analytics API? https://latestn.com/tool/codex/admin-and-enterprise/compliance-api-vs-analytics-api When should I use the Compliance API instead of the Analytics API for Codex records? https://latestn.com/tool/codex/admin-and-enterprise/configure-codex-cloud-rollout How do I configure Codex cloud during a ChatGPT Enterprise rollout? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:49:36Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/codex/admin-and-enterprise/configure-codex-config-server/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/codex/admin-and-enterprise/configure-codex-config-server POST: https://latestn.com/dispute/tool/codex/admin-and-enterprise/configure-codex-config-server with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/codex/admin-and-enterprise/configure-codex-config-server?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure Codex to use a self-hosted configuration server? Revision 1, last verified 2026-11-20T13:37:35Z. https://latestn.com/tool/codex/admin-and-enterprise/configure-codex-config-server (accessed 2026-11-21T09:57:14Z). @misc{LatestN_tool_codex_admin_and_enterprise_configure_codex_config_server_r1, title = {How do I configure Codex to use a self-hosted configuration server?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/codex/admin-and-enterprise/configure-codex-config-server}}, note = {Revision 1; digest sha256:a8b5f75e5d1c8883; last verified 2026-11-20T13:37:35Z; accessed 2026-11-21T09:57:14Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/codex/admin-and-enterprise/configure-codex-config-server