Try the fastest and simplest way to install ONLYOFFICE

HTTPS Nginx Docker Sites-Enabled Edits Not Saved

IIS, Apache

HTTPS Nginx Docker Sites-Enabled Edits Not Saved

Postby CinnabarJack » Fri Jun 05, 2015 3:31 am

No problems setting up https in Nginx Docker but when I detach from the container, stop it, start it again, and re-attach, the virtual host file 'onlyoffice' in /etc/nginx/sites-enabled has reverted back to its default http (port 80) configuration rendering https inoperable.

All other edits and files created in the container-attachment login are saved, but the sites-enabled file is not. I am using nano as the editor in all cases. Upon attachment it appears that the session is a root-level login to the {id_container}.

Am I doing something wrong or is there something special /different about the way you have to edit the sites-enabled file? I noticed that directory permissions of sites-availalble and sites-enabled are very different but changing them has had no effect (same for file permissions).

Thanks for your help.
CinnabarJack
 
Posts: 15
Joined: Thu May 21, 2015 10:27 pm

Re: HTTPS Nginx Docker Sites-Enabled Edits Not Saved

Postby Dean » Thu Jun 11, 2015 1:34 pm

Forwarded to testing team, sorry for the delay.
Dean
 
Posts: 700
Joined: Tue Sep 30, 2014 11:04 am

Re: HTTPS Nginx Docker Sites-Enabled Edits Not Saved

Postby Dean » Wed Jun 17, 2015 12:11 pm

When the Docker-container stops (and as far as you EXIT it, it stops) the following script is run: https://github.com/ONLYOFFICE/Docker-CommunityServer/blob/master/run-community-server.sh
It checks the existance of the files onlyoffice.key, onlyoffice.crt (https://github.com/ONLYOFFICE/Docker-CommunityServer#running-onlyoffice-community-server-using-https) If they exist,we change the config file to the following one.https://github.com/ONLYOFFICE/Docker-CommunityServer/blob/master/config/nginx/onlyoffice-ssl
Dean
 
Posts: 700
Joined: Tue Sep 30, 2014 11:04 am


Return to Web server configuration

Who is online

Users browsing this forum: Bing [Bot] and 1 guest