https for document service

ONLYOFFICE Open Source Version news
Post Reply
Posts: 2
Joined: Wed Apr 29, 2015 8:24 am

https for document service

Post by iucnit » Thu Apr 30, 2015 2:58 pm

Hi all,

When i run the container for the document service with:
docker run -i -t -d -p 8443:443 -p 8800:80 -v /opt/onlyoffice/Data:/var/www/onlyoffice/Data onlyoffice/documentserver
I can reach the document service on http (port 8800) but not https.
When I look in the contaniner (docker attach <id number>) and execute 'netstat -ln' I can see port 80 listening but not port 443. Also, in the nginx.conf file I can not find any indication that nginx should do anything with https. How is this supposed to work? should I change something?
There is also a mysql server running, should I configure this server?

certificate and key copied (permissions set) to /opt/onlyoffice/Data/certs
centos 7.0
docker 1.5



Posts: 700
Joined: Tue Sep 30, 2014 11:04 am

Re: https for document service

Post by Dean » Thu May 07, 2015 1:30 pm

Please check the certificate name to be

" onlyoffice.key", "onlyoffice.crt"

and check the folder /var/www/onlyoffice/Data (inside the Docker-container) to contain the certs.

Post Reply