The General settings control workspace-wide behavior, including the site URL and name, connection and security options, unread counters, CDN configuration, and more.
To access the general settings of your workspace, navigate to Manage → Workspace → Settings → General.
General workspace settings
Field | Description |
|---|---|
Show Setup Wizard | Do not alter this setting. It is set automatically from |
Site URL | Enter the URL of the workspace. Example: |
Site Name | Enter the name of the workspace. Example: |
Document Domain | Enter the document domain. See the Document: domain property for details. |
Language | Select the default language for the workspace. This setting does not override a user's own language preference. Refer to the Account - Localization settings for language preference priority in Rocket.Chat. |
Allow Invalid Self-Signed Certs | Enable this setting to allow invalid and self-signed SSL certificates for link validation and previews. |
Enable Content-Security-Policy | Do not disable this setting unless you have a custom build and are having problems due to inline scripts. |
Use Rocket.Chat SDK | Enable this experimental setting to route Meteor DDP traffic through the
|
Extra CSP Domains | Enter extra domains to add to the Content-Security-Policy. |
Restrict access inside any Iframe | Enable this setting to restrict loading Rocket.Chat inside any iframe. |
Options to X-Frame-Options | Enter the value for the |
Enable Favorite Rooms | Enable this setting to allow users to mark a room as a favorite. See how to mark rooms as favorite. |
First Channel After Login | Enter the channel that users join by default after logging in. If this field is empty or contains an invalid name, users are directed to the workspace home page. Example: |
Unread Count | Select the behavior of the unread counter:
|
Unread Count for Direct Messages | Select the behavior of the unread counter for direct messages:
|
Unread Count for Omnichannel Chats | Select the behavior of the unread counter for Omnichannel chats:
|
DeepLink_Url | Enter the deep link URL. See Deep linking for details. |
CDN Prefix | To load your workspace assets from a CDN, enter your CDN prefix here. For more details, refer to the CDN document. |
Use CDN Prefix for all assets | Enable this setting if all workspace assets are served from a CDN. When enabled, the CDN Prefix for JS/CSS field is disabled. |
CDN Prefix for JS/CSS | Enter the prefix for the CDN that loads the JS/CSS assets. This field is available only when Use CDN Prefix for all assets is disabled. |
Force SSL | Enable this setting to force SSL on your workspace. We strongly discourage using this setting; redirect to HTTPS at the reverse proxy level instead. This option exists for deployments such as Heroku, which do not allow redirect configuration at the reverse proxy. |
Google Tag Manager Id | Enter your Google Tag Manager ID to use Tag Manager with your workspace. |
Bugsnag API Key | Enter your Bugsnag API key to integrate Bugsnag error reporting with your workspace. |
Restart The Server | Click this button to restart the Rocket.Chat server. Some settings on this page take effect only after a restart. |
Store Last Message | Enable this setting to store the last message sent in each room. The last message appears in the sidebar when Sidebar Channel List Mode is set to |
Robots.txt File Contents | Enter the contents of the robots.txt file, which controls how search engine crawlers access your workspace. |
Default Referrer Policy | Select the |
Select Restore defaults to revert the settings in this section to their default values.
REST API settings
In the General settings, select the REST API tab to modify your workspace's REST API settings.
Field | Description |
|---|---|
Max Record Amount | Enter the maximum number of records the REST API returns when not set to unlimited. |
Default Count | Enter the default count for REST API results if the consumer did not provide one. |
Allow Getting Everything | This setting affects the
|
Enable Direct Message History Endpoint | Enable this setting to activate the |
Enable Shields | Enable this setting to allow the use of shields via the API. Shields are available at |
Shield Types | Enter the types of shields to enable as a comma-separated list. Choose from |
Require authentication for users shields | Enable this setting to require user authentication for shields. |
Enable CORS | Enable CORS for the REST API. When enabled, the workspace accepts API calls only from the origins you specify. When disabled, the workspace accepts requests only from its own domain. |
CORS Origin | Enter the origins that are allowed to make requests to your workspace. Use |
Apply permission | Enable this setting to enforce the
|
User Limit for Adding All Users to Channel | Enter the maximum number of users that can be added to a channel simultaneously. |
Select Restore defaults to revert the settings in this section to their default values.
Translation settings
In the General settings, expand the Translations section.
Custom Translations: Configure custom translations for your workspace. Enter a valid JSON object where each key is a language containing a dictionary of keys and translations. Select Full Screen to expand the editor. For example:
{
"en": {
"Channels": "Rooms"
},
"pt": {
"Channels": "Salas"
}
}Time zone settings
In the General settings, expand the Time zone section.
Field | Description |
|---|---|
Default timezone for reporting | Select the default timezone used when showing dashboards or sending emails. The options are as follows:
|
Custom timezone | If you select Custom timezone as the default timezone, select the timezone of your choice from the drop-down menu. If you select any other option, this setting is disabled. |
Iframe integration settings
In the General settings, expand the Iframe Integration section.
For details on configuring iframes, see the Iframe Integration section.
To use the microphone, camera, and geolocation in an iframe, allow them in the iframe features policy. For example,
<iframe src="https://open.rocket.chat/" allow="geolocation; microphone; camera"></iframe>
Field | Description |
|---|---|
Enable Send | Enable this setting to allow Rocket.Chat to send events to the parent window. |
Send Target Origin | Enter the origin, with protocol prefix, that commands are sent to. Example: |
Enable Receive | Enable this setting to allow a parent window to send commands to Rocket.Chat. |
Receive Origins | Enter the origins, with protocol prefix and separated by commas, that are allowed to send commands. Example: |
Select Restore defaults to revert the settings in this section to their default values.
Notifications settings
In the General settings, expand the Notifications section.
Max Room Members Before Disabling All Message Notifications: Enter the maximum number of room members before notifications for all messages are disabled. Users can still change the per-room setting to receive all notifications individually. Enter
0to disable this limit.
NPS settings
In the General settings, expand the NPS section.
Enable NPS Survey: Enable this setting to run the NPS survey for all users. Administrators receive an alert two months before the survey is launched.
For more details, refer to Net Promoter Score (NPS) survey.
SSRF protection
The SSRF protection setting is available in version 8.2.0 and later.
A server-side request forgery (SSRF) vulnerability allows an attacker to force a server to send requests to any domain or IP address of their choosing. In Rocket.Chat's case, an attacker could craft a malicious URL (for example, in a webhook or message preview) that tricks the server into making requests to cloud metadata services, exposing API keys, credentials, and other internal data.
By default, Rocket.Chat's outbound HTTP requests are automatically screened to defend against SSRF attacks. Before any connection is allowed, the destination URLs are resolved and checked against a blocklist of restricted IPs and private network ranges.
A few trusted outbound HTTP requests are not scanned by Rocket.Chat. This is because the URLs are either hardcoded or can only be defined by a workspace admin.
In the General settings, expand the SSRF protection section and update the following option only if you want to allow specific domains or IPs:
Field | Description |
|---|---|
SSRF allowlist | Enter the domains, IPs, or IP:port values that are allowed for outbound requests despite SSRF protection. Enter one value per line, or separate values with commas. Use this field only for trusted internal hosts. Examples: |
By default, Rocket.Chat implements multiple security layers as follows. This is only for your information, and no further action is required:
Block internal IP ranges: Restricts all private IP ranges and internal cloud service IPs.
Protocol restrictions: Allows only HTTP and HTTPS, blocking schemes such as
gopher://,ftp://, andfile://, which could be used to read local files or reach internal services.Validate redirects: Prevents attackers from registering an unblocked domain that redirects to a blocked IP or domain. For example, this prevents
evil.iofrom redirecting to the metadata service at169.254.169.254.Domain lookups: Resolves domain names to their IP addresses and blocks those that point to restricted IP addresses, preventing attackers from registering domains that resolve to internal addresses.
Block different IP formats: Considers different representations of the same address. For example,
localhostcan be written as127.0.0.1,[::1],2130706433(decimal), or0177.0.0.1(octal). To prevent SSRF validation bypasses, Rocket.Chat accepts only formats such as127.0.0.1and[::1].
Stream Cast settings
This feature is deprecated and will be removed in future versions.
If you are using Stream Cast, expand the Stream Cast section in the General settings.
Stream Cast Address: Enter the IP or host of your Rocket.Chat central Stream Cast. Example:
192.168.1.1:3000orlocalhost:4000
Update settings
In the General settings, expand the Update section to modify your workspace's update checker settings.
Field | Description |
|---|---|
Update Latest Available Version | Displays the latest available version. |
Enable the Update Checker | Enable this setting to receive new update notifications and important messages from Rocket.Chat developers. The notification appears once per new version as a clickable banner and as a message from the Rocket.Cat bot, both visible only to administrators. |
Select Restore defaults to revert the settings in this section to their default values.
UTF8 settings
In the General settings, expand the UTF8 section to configure the name validation rules for usernames and rooms. If you are having problems with names when creating channels, such as when using non-English characters, adjusting these values usually resolves it. For example, using [\w_-]+ allows any non-space character to be part of a name.
Field | Description |
|---|---|
UTF8 Usernames Validation | Enter the regular expression used to validate usernames. The default value is Example: To allow Japanese strings, enter the regex |
UTF8 Channel Names Validation | Enter the regular expression used to validate channel names. The default value is |
UTF8 Names Slugify | Enable this setting to create slugs for names. |
Select Restore defaults to revert the settings in this section to their default values.
App settings
In the General settings, expand the Apps section.
Field | Description |
|---|---|
Apps' Source Package Storage type | Select where the apps' source code is stored. Each app can be multiple megabytes in size. The options are GridFS and FileSystem.
|
Directory for storing apps source package | Enter the absolute path in the filesystem for storing the apps' source code (in |