Change web publishing settings
The web server configuration will be updated after the information base web publishing settings are changed.This may result in increased web server response time and interruption of all sessions through the web client for all information bases in the 1C server cluster where the information base being updated resides.
We recommend scheduling jobs during times of minimal cluster utilization and using session locking for linked information bases.
To make it possible to connect to the information base via the Internet, a web publication is created for it — the information base is published on a web server.
In 1C ready cloud, web publications for information databases are created automatically using Apache web server.When creating a web publication, two files with default settings are automatically generated — conf-file with web server settings and default.vrd file with the publication description for the web server extension module of the 1C:Enterprise 8 platform.
You can change the default.vrd file in the control panel. If after changing the file, errors appear when connecting to the base via the Internet, you can restore the default file.
Conf -file cannot be changed.
The limit on the size of a file that can be uploaded via web publishing is 50 MB.To change the limit, create a ticket.
By default, web publishing of the information base is enabled and available from the Internet. You can enable and disable web publishing manually.To manage the web server, use the Manage the 1C Server Cluster Web Server manual.
You can only change the web publishing settings of an information base in the ACTIVE status.
Enable web publishing
- In the control panel, in the top menu, click Products and select 1C Ready Cloud.
- Go to the Information Bases section.
- Open the information base page.
- Open the Web Publishing tab.
- Turn off the Web Publishing toggle switch.
Modify the default.vrd file
-
In the control panel, in the top menu, click Products and select 1C Ready Cloud.
-
Go to the Information Bases section.
-
Open the information base page.
-
Open the Web Publishing tab.
-
Make the necessary changes to the contents of the file in XML format. More information about the file structure in the 1C documentation.
Some fields in the file ensure that web publishing works on the 1C Ready Cloud servers. Changes in these fields will not be saved:
.point@ibfield;- field
.point@base— parametersSrvr(server address) andRef(information base name).
-
Click Edit File.
-
Confirm the change.
-
Optional: check that there are no errors in the new web publishing settings. To do this, connect to the information base via the web client. If an error occurs when connecting, check the changes you made in step 4 or restore the default.vrd file to default.
Restore the default.vrd file to its default state
- In the control panel, in the top menu, click Products and select 1C Ready Cloud.
- Go to the Information Bases section.
- Open the information base page.
- Open the Web Publishing tab.
- Click Restore Default File.
- Confirm the recovery.
Turn off web publishing
- In the control panel, in the top menu, click Products and select 1C Ready Cloud.
- Go to the Information Bases section.
- Open the information base page.
- Open the Web Publishing tab.
- Turn off the Web Publishing toggle switch.