> Source: https://docs.cyberelements.io/saas/hr/Usage/Reference/ConfigurationFiles/

# Configuration files reference

The Edge Gateway keeps its configuration in files under `/etc/ipdiva/` and `/etc/cleanroom/`. This section describes the files that you can modify, and gives the role of the files managed by the product.

> **Files managed by the product**
>
> A file marked **managed by the product** is written or rewritten by the product itself: by the installation, by the consoles or by a service. Do not modify it: your change would be lost, or would break the operation of the platform.

## Edge Gateway

### Files you can modify

| File | Role |
|---|---|
| [`/etc/ipdiva/gateway/gateway.xml`](https://docs.cyberelements.io/saas/hr/Usage/Reference/ConfigurationFiles/EdgeGateway/GatewayXml/) | configuration of the Edge Gateway, one directory `/etc/ipdiva/gateway-<instance>/` per additional instance |
| [`/etc/ipdiva/gateway/services.xml`](https://docs.cyberelements.io/saas/hr/Usage/Reference/ConfigurationFiles/EdgeGateway/GatewayServicesXml/) | tunnels between the Edge Gateway and the other nodes: Mediation Controller and other Edge Gateways |
| [`/etc/ipdiva/careserver/careserver.xml`](https://docs.cyberelements.io/saas/hr/Usage/Reference/ConfigurationFiles/EdgeGateway/CareServerXml/) | configuration of the recording server |
| [`/etc/ipdiva/cleanroom/xrdprecord.ini`](https://docs.cyberelements.io/saas/hr/Usage/Reference/ConfigurationFiles/EdgeGateway/XrdpRecord/) | settings of the RDP recorder |
| [`logging.conf`, `logging.ini`](https://docs.cyberelements.io/saas/hr/Usage/Reference/ConfigurationFiles/Logging/) (one per service) | log levels of each service |

### Files managed by the product

| Files | Role |
|---|---|
| `/etc/cleanroom/` | configuration of the RDP server (xrdp) adapted by the product, including its keyboard maps `xrdp/km-*.ini` |
| `/etc/ipdiva/gw-controller/` | configuration of the Edge Gateway controller and of its modules |
| `/etc/ipdiva/vpnNg/` | VPN configuration |
| `*.pem`, `*.p12`, `*.lic`, `*.keytab` | certificates, keys, licences and keytabs: security material |

## Upgrade

The configuration files are kept on upgrade. When you have modified one of them, the upgrade asks whether to keep your version or to install the new one; the version not chosen stays next to it, with the extension `.dpkg-old` (your former version) or `.dpkg-dist` (the new version).
