Fix #31 - edit path

This commit is contained in:
Svetlana Maleeva 2022-10-12 10:01:10 +03:00
parent 821c5f7a4d
commit 1166da056c
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@
<pre><code>COPY /Y "%ProgramFiles%\ONLYOFFICE\DocumentServer\nginx\conf\ds-ssl.conf.tmpl" "%ProgramFiles%\ONLYOFFICE\DocumentServer\nginx\conf\ds.conf"
</code></pre>
</li>
<li>After replacing the original config with the template, execute <code>C:\Program Files\ONLYOFFICE\DocumentServer\bin\documentserver-update-securelink.bat</code></li>
<li>After replacing the original config with the template, execute <code>%ProgramFiles%\ONLYOFFICE\DocumentServer\bin\documentserver-update-securelink.bat</code></li>
<li>Edit the <code>%ProgramFiles%\ONLYOFFICE\DocumentServer\nginx\conf\ds.conf</code> file changing all the parameters in double curly brackets <b>{{...}}</b> for the actually used:
<div class="notehelp nh_notice">Please note that the backslash characters ( \ ) must be escaped in one of the following ways: <code>С:\\yourfolder\\certificates\\onlyoffice.key</code> or <code>С:/yourfolder/certificates/onlyoffice.key</code>. If there are spaces in the path, you need to take it all into quotation marks, e.g.: <code>"С:/yourfolder/my certificates/onlyoffice.key"</code>.</div>
<ul>

View File

@ -49,7 +49,7 @@
<pre><code>COPY /Y "%ProgramFiles%\ONLYOFFICE\DocumentServer\nginx\conf\ds-ssl.conf.tmpl" "%ProgramFiles%\ONLYOFFICE\DocumentServer\nginx\conf\ds.conf"
</code></pre>
</li>
<li>После замены исходного файла конфигурации на шаблон запустите <code>C:\Program Files\ONLYOFFICE\DocumentServer\bin\documentserver-update-securelink.bat</code></li>
<li>После замены исходного файла конфигурации на шаблон запустите <code>%ProgramFiles%\ONLYOFFICE\DocumentServer\bin\documentserver-update-securelink.bat</code></li>
<li>Отредактируйте файл <code>%ProgramFiles%\ONLYOFFICE\DocumentServer\nginx\conf\ds.conf</code>, заменив все параметры в двойных фигурных скобках <b>{{...}}</b> на фактически используемые:
<div class="notehelp nh_notice">Пожалуйста, обратите внимание на то, что обратный слэш ( \ ) надо экранировать одним из следующих способов: <code>С:\\yourfolder\\certificates\\onlyoffice.key</code> или <code>С:/yourfolder/certificates/onlyoffice.key</code>. Если в названии пути имеются пробелы, то весь путь нужно взять в кавычки, например: <code>"С:/yourfolder/my certificates/onlyoffice.key"</code>.</div>
<ul>