Do you want to: Ask a how-to question
Document Server version: 6.4.1.45
Type of installation of the Document Server: docker
OS: Ubuntu 20.04
Browser version: Firefox 93.0 (64-Bit)
Hey everyone!
Just installed OnlyOffice Docs on a new server and everything is working fine.
I just want to ask if there is a nice way to hide / deactivate or change the welcome page you get, when you open the OnlyOffice address in a normal browser?
I know that this question already existed and was answered in the old forum, but i cannot find it here.
Hello,
You can comment out the second line in /etc/onlyoffice/documentserver/nginx/includes/ds-docservice.conf and run service nginx restart to disable the Welcome page.
Please note that the above fix alone does NOT prevent someone accessing the “welcome” directory. They can type in “https://server/welcome/” and access the page.
You should either remove the /var/www/onlyoffice/documentserver/server/welcome directory or rename it to “.welcome”.
Hey ffilmar! Sadly it is not working for me. I tried it after updating to the latest docker container version but after deleting the welcome directory you mentioned, the site is still shown. Even after nginx reload or starting the docker container with an empty welcome directory connected as volume. Would love to have a way to make the welcome page inaccessible. Best would be if this change could survive docker container updates.
You get a " 404 Not Found". Editing docs from onlyoffice still works. This change will survive updates if you keep the same ds-docservice.conf. I don’t use docker but this file is never touched during “apt” upgrades.
NOTE this still works if someone enters the “/welcome/” URL directly.