Closed mib-2020 closed 4 years ago
Did you use this instruction https://helpcenter.onlyoffice.com/server/linux/document/switch-to-https.aspx to setup https?
Thank you for your suggestion. More or less "yes". Now I double-checked the instruction and changed some values, for not have special values I need for other parts of my project.
This is how it looks like now: ds.conf.txt
Unfortunately I got after restarting nginx still the 502 Bad Gateway Error. Maybe you have another advice for me? Kind regards, Michael
@mib-2020 Sorry, I'm not very good at nginx configuration. I think you should restore our default config and modify it step by step until it meet your need or failed and you'll known there is error
server { listen 192.168.178.110:443 ssl; listen [::]:443 ssl default_server; server_tokens off; root /var/www; - must be root/var/www/onlyoffice
Thanks for the answer, I guess that's it. But I have uninstalled Onlyoffice now, because I will be able to activate it as an app in Nextcloud Hub soon, that will be easier. Kind regards, Michael
Do you want to request a feature or report a bug? bug What is the current behavior? Trying to connect to https://127.0.0.1/welcome/ I get the error message "502 Bad Gateway - nginx" If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. I installed the Document Server as described in https://helpcenter.onlyoffice.com/server/linux/document/linux-installation.aspx What is the expected behavior? Have a look at the file /var/www/onlyoffice/documentserver/server/welcome/index.html Did this work in previous versions of DocumentServer? I never tried before DocumentServer version: 5.4.2-46 Operating System: lubuntu 19.10 Browser version: Firefox 72.0.1
THIS IS IN MY /etc/onlyoffice/documentserver/nginx/ds.conf