---
title: Configuration file
project: CMS
version: 1.0
section: reference
language: en
license: MIT
url: https://totaljs.es/docs/cms/1-0/reference/configuration/
updated: 2026-11-19T04:30:19.172Z
---

# Configuration file

> The keys of the config file in the app folder.

The `config` file in the app folder holds the settings that apply when the app starts. Restart the app after you change it.

```text
salt      (generate)  : 10
$api                  : /admin/
cdn                   : //cdn.componentator.com
```

## Keys in the file

| Key | What it does |
|---|---|
| `salt` | A random value that the app generates for itself. Leave it as it is. |
| `$api` | The address of the admin. **Keep it as `/admin/`**: the admin works only at this address. |
| `cdn` | The content network that serves the styles and scripts of the admin |

## Keys you can add

| Key | Example | What it does |
|---|---|---|
| `$port` | `8000` | The port of the app |
| `$ip` | `127.0.0.1` | The network address the app listens on. Use `127.0.0.1` when a reverse proxy runs on the same server. |
| `language` | `en` | The default language of visitors. See [Publish one URL in two languages](../../recipes/multilingual-pages/). |

For example:

```text
$port                 : 8000
$ip                   : 127.0.0.1
language              : en
```
