Dockerized seafile and onlyoffice


i thought i’D give it a try, and followed the documentation.

But whatever i try: i can’t access

I will, indeed, have a Documentserver running on http://ipadress:88/welcome, like here:

So it is working somehow, but not for Seafile, because, when i open an office doc, page will go blank.
When i look into the source of the blank page it gives back the link to api,js.

Thats it.

My seafile.conf for nginx:
# Required for OnlyOffice DocumentServer
map $http_x_forwarded_proto $the_scheme {
default $http_x_forwarded_proto;
“” $scheme;

map $http_x_forwarded_host $the_host {
default $http_x_forwarded_host;
“” $host;

map $http_upgrade $proxy_connection {
default upgrade;
“” close;

server {

# onlyofficeds
location /onlyofficeds/ {
    # IMPORTANT ! - Trailing slash !
    proxy_http_version 1.1;
    client_max_body_size 100M; # Limit Document size to 100MB
    proxy_read_timeout 3600s;
    proxy_connect_timeout 3600s;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection $proxy_connection;

    # IMPORTANT ! - Subfolder and NO trailing slash !
    proxy_set_header X-Forwarded-Host $the_host/onlyofficeds;

    proxy_set_header X-Forwarded-Proto $the_scheme;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;


My seahub

Enable Only Office

ONLYOFFICE_APIJS_URL = ‘https://mydomain/onlyofficeds/web-apps/apps/api/documents/api.js
ONLYOFFICE_FILE_EXTENSION = (‘doc’, ‘docx’, ‘ppt’, ‘pptx’, ‘xls’, ‘xlsx’, ‘odt’, ‘fodt’, ‘odp’, ‘fodp’, ‘ods’, ‘fods’)
ONLYOFFICE_EDIT_FILE_EXTENSION = (‘docx’, ‘pptx’, ‘xlsx’)

But no avail.
After changing the conf file for nginx, i thought i should have to restart the nginx process, but now it fails. It claims: that there might be to ‘’ servers…

So what next? Read hrs over hrs, but can’t get it.
Thanks for help