Install OnlyOffice Docs for Windows with HTTPS on a different port does not work

I am trying to “Switch ONLYOFFICE Docs Community Edition for Windows to HTTPS protocol” and followed an article on your website at: Switching ONLYOFFICE Docs for Windows to HTTPS protocol - ONLYOFFICE.
But that does not seem to work in my case.

I am running the OnlyOffice Docs Community Edition on a custom port 8080 since my ports 80 and 443 are already occupied by the IIS.

Please suggest how to resolve this issue.

Thanks

Hello jsmith.

You are using the right guide. But if you want to change the default HTTPS port for Document Server, you should edit C:\Program Files\ONLYOFFICE\DocumentServer\nginx\conf\ds.conf and change 443 port to your custom one.

After that restart service ONLYOFFICE DocumentServer Proxy