---
title: "Change web publication settings"
sidebar_label: "Change web publication settings"
sidebar_position: 8
description: "How to change the web publication settings of an infobase via the default.vrd file"
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import CheckIcon from '@selectel/docux/icons/check'

# Change web publication settings

:::warning

The web server configuration will be updated after changing the web publication settings of the info base. This may lead to an increase in web server response time and termination of all web client sessions for all info bases of the 1C server cluster where the info base being updated is located.

We recommend scheduling maintenance during periods of low cluster load and [using session locking](/cloud-1c/infobase/manage-infobase-user-sessions.mdx#set-lock) for related infobases.

:::

To allow connecting to an infobase via the internet, a web publication is created for it — the infobase is published on a web server.

In a ready-to-use 1C cloud, web publications for info bases are created automatically using the Apache web server. When a web publication is created, two files with default settings are automatically generated — `conf` file with web server settings and a `default.vrd` file describing the publication for the 1C:Enterprise 8 platform web server extension module.

You can [edit the default.vrd file](#change-file) in the Control Panel. If errors occur when connecting to the base via the internet after changing the file, you can [restore the default file](#restore-default-file).

The `Conf` file cannot be changed.

Лимит on размер файла, который можно загрузить через веб-публикацию — 50 Мб. Для того, чтобы изменить лимит, [создайте тикет](https://my.selectel.ru/tickets/create/).

По умолчанию веб-публикации информационной базы включены and доступны из интернета. Вы можете [включить](#enable-web-publication) and [выключить веб-публикацию](#disable-web-publication) вручную. Для того, чтобы управлять веб-сервером, используйте инструкцию [Управлять веб-сервером кластера серверов 1С](/cloud-1c/cluster/manage-web-server.mdx)

You can only edit web publication settings for an infobase with the `ACTIVE` status.

## Enable web publication \{#enable-web-publication}

1. In the [Control panel](https://my.selectel.ru/ones/base), on the top menu, click **Products** and select **1C Ready Cloud**.
2. Go to the **Infobases** section.
3. Open the info-base page.
4. Open the **Web publication** tab.
5. Turn off the **Web publication** toggle.

## Edit the default.vrd file \{#change-file}

1. In the [Control panel](https://my.selectel.ru/ones/base), click **Products** in the top menu and select **1C Managed Cloud**.

2. Go to the **Info-bases** section.

3. Open the info-base page.

4. Open the **Web publication** tab.

5. Make the necessary changes to the file content in XML format. Learn more about the file structure in the [1C documentation](https://its.1c.ru/db/v8318doc#bookmark:adm:TI000000379).

   Some fields in the file ensure that the web publication functions correctly on 1C Managed Cloud servers. Changes to these fields will not be saved:

   * the `.point@ib;` field;
   * the `.point@base` field — the `Srvr` (server address) and `Ref` (info-base name) parameters.

6. Click **Edit file**.

7. Confirm the change.

8. Optional: check that the new web publication settings have no errors. To do this, [connect to the info-base via the web client](/cloud-1c/connect/connect-to-1c.mdx). If a connection error occurs, check the changes made in step 4 or [restore the default default.vrd file](#restore-default-file).

## Restore the default.vrd file to default \{#restore-default-file}

1. In the [Control panel](https://my.selectel.ru/ones/base), click **Products** in the top menu and select **1C Managed Cloud**.
2. Go to the **Info-bases** section.
3. Open the info-base page.
4. Open the **Web publication** tab.
5. Click **Restore default file**.
6. Confirm the restoration.

## Disable web publication \{#disable-web-publication}

1. In the [Control panel](https://my.selectel.ru/ones/base), click **Products** in the top menu and select **1C Managed Cloud**.
2. Go to the **Info-bases** section.
3. Open the info-base page.
4. Open the **Web publication** tab.
5. Turn off the **Web publication** toggle.

<Formbricks />
