Files
upstream-zulip/docs/production/settings.md
upstream-mirror 64898b2c79
Some checks failed
Code scanning / CodeQL (push) Failing after 15s
Zulip production suite / Ubuntu 22.04 production build (push) Failing after 26s
Zulip production suite / Debian 12 production install with custom db name and user (push) Has been skipped
Zulip production suite / Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga (push) Has been skipped
Zulip production suite / Ubuntu 24.04 production install (push) Has been skipped
Zulip production suite / Ubuntu 26.04 production install (push) Has been skipped
Zulip production suite / Debian 13 production install (push) Has been skipped
Zulip production suite / 7.0 Version Upgrade (push) Has been skipped
Zulip production suite / 8.0 Version Upgrade (push) Has been skipped
Zulip production suite / 6.0 Version Upgrade (push) Has been skipped
Zulip production suite / 10.0 Version Upgrade (push) Has been skipped
Zulip production suite / 9.0 Version Upgrade (push) Has been skipped
Zulip production suite / 12.0 Version Upgrade (push) Has been skipped
Zulip production suite / 11.0 Version Upgrade (push) Has been skipped
GitHub Actions Security Analysis with zizmor / zizmor (push) Failing after 3s
Zulip CI / Debian 12 (Python 3.11, backend + documentation) (push) Failing after 26s
Zulip CI / Ubuntu 22.04 (Python 3.10, backend + frontend) (push) Failing after 3s
Zulip CI / Ubuntu 24.04 (Python 3.12, backend) (push) Failing after 25s
Zulip CI / Ubuntu 26.04 (Python 3.14, backend) (push) Failing after 25s
Zulip CI / Debian 13 (Python 3.13, backend) (push) Failing after 28s
Zulip production suite / Required jobs (push) Has been cancelled
Zulip CI / Required jobs (push) Has been cancelled
API Documentation Update Check / check-feature-level-updated (push) Has been cancelled
API Documentation Update Check / notify-if-api-docs-changed (push) Has been cancelled
snapshot of https://github.com/zulip/zulip.git @ 48c69911c7dd4e03b20552eb3bd77ad8151c1357 (2026-09-15)
2026-09-15 15:05:30 +05:00

3.8 KiB

Server configuration

This page explains the configuration options in /etc/zulip/settings.py, the main configuration file used by system administrators to configure their Zulip server.

Organization administrators can also configure many options for a Zulip organization from the web or desktop app. See system and deployment configuration documentation for advanced configuration of the various services that make up a complete Zulip installation (/etc/zulip/zulip.conf).

:::{important}

If you are using Docker, see {doc}docker:how-to/compose-settings for configuring settings.py via SETTING_* environment variables, or {doc}docker:how-to/compose-manual-configuration to edit it directly.

:::

Server settings overview

The Zulip server self-documents more than a hundred settings in the organized comments in /etc/zulip/settings.py. You can read the latest version of the settings.py template in a browser.

Important settings in /etc/zulip/settings.py include:

Changing server settings

To change any of the settings in /etc/zulip/settings.py, modify and save the file on your Zulip server, and restart the server with the following command:

su zulip -c '/home/zulip/deployments/current/scripts/restart-server'

If you have questions about how to configure your server, best-effort community support is available in the Zulip development community. Contact sales@zulip.com to learn about paid support options.

Customizing user onboarding

Navigation tour video

New users are offered a 2-minute video tour, which shows where to find everything to get started with Zulip.

You can modify NAVIGATION_TOUR_VIDEO_URL in /etc/zulip/settings.py in order to host the official video on your network, or to provide your own introductory video with information on how your organization uses Zulip. A value of None disables the navigation tour video experience.

Terms of Service and Privacy policy

:::{important}

If you are using this feature, please make sure the name of your organization appears prominently in all documents, to avoid confusion with policies for Zulip Cloud.

:::

Zulip lets you configure your server's Terms of Service and Privacy Policy pages.

Policy documents are stored as Markdown files in the configured POLICIES_DIRECTORY. We recommend using /etc/zulip/policies as the directory, so that your policies are naturally backed up with the server's other configurations.

To provide Terms of Service and a Privacy Policy for your users, place Markdown files named terms.md and privacy.md in the configured directory, and set TERMS_OF_SERVICE_VERSION to 1.0 to enable this feature.

You can put additional files in the same directory to document other policies; if you do so, you may want to:

  • Create a Markdown file sidebar_index.md listing the pages in your policies site; this generates the policies site navigation.
  • Create a Markdown file missing.md with custom content for 404s in this directory.