Onlyoffice Comunity Server on LXC - Nginx

Issues during installation and related to database
Post Reply
braniz
Posts: 1
Joined: Tue Sep 10, 2019 3:09 pm

Onlyoffice Comunity Server on LXC - Nginx

Post by braniz » Tue Sep 10, 2019 3:26 pm

Hello Comunity.

I nead some help.

I use Version 10.0.4.959 from Onlyoffice.

My config of onlyoffice is:
Centos7 with LXC Container and nginx proxy.
I have use the istall script

Code: Select all

https://download.onlyoffice.com/install/opensource-install.sh
It is work fine.

My problem i can not use the Document Server.
If i klick on dokument add button i see only a blank page.

I think my nginx proxy conf is wrong.

My nginx conf on the host:

Code: Select all

# Backend
upstream server_onlyoffice {
      server 10.139.9.248:80; # Onlyoffice
}

## Frontend - Reverse Proxy ##
server {
    listen       192.168.10.6:8080;
    server_name  onlyoffice.iq;

    access_log  /var/log/nginx/onlyoffice.access.log  main;
    error_log  /var/log/nginx/onlyoffice.error.log;
    root   /usr/share/nginx/www;
    index  index.html index.htm;

    ## Definition Reverse Proxy ##
    location / {
     proxy_pass  http://server_onlyoffice;
     proxy_next_upstream error timeout invalid_header http_500 http_502 http_503 http_504;
     proxy_redirect off;
     proxy_buffering off;
     proxy_set_header        Host            $host;
     proxy_set_header        X-Real-IP       $remote_addr;
     proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
   }
}

Carl
Posts: 200
Joined: Thu Apr 12, 2018 10:00 am

Re: Onlyoffice Comunity Server on LXC - Nginx

Post by Carl » Thu Sep 12, 2019 7:21 am

Hello.

Please specify the type of installation of Community Edition (docker or rpm-package).

Have you changed the default addresses in Settings => Integration => Document Service? Click on the Save button in this window and check if there are any errors.

Post Reply