Document server behind proxy with SSL termination

Issues during installation and related to database
Post Reply
alex1452
Posts: 4
Joined: Sun Oct 27, 2019 2:40 am

Document server behind proxy with SSL termination

Post by alex1452 » Thu Oct 31, 2019 7:02 am

Dear all,

I got document server working with nextcloud in the same LXC container. Document server uses port 9000 and can be accessed with http://192.168.1.x/:9000. I can integrate documentserver in nextcloud with with this address and then access nextcloud with documentserver with http://192.168.1.x/nextcloud.

On the host I have a nginx server as reverse proxy with SSL termination to access different apps in different containers. I can access nextcloud from the Intranet with https://subdomain.domain.tld/nextcloud. However, I am not able to access documentserver. What nginx configuration is needed for the reverse proxy to access documentserer with somehting like https://domain.tld/documentserver?

Does anybody have a working configuration for a subdirectoy and SSL termination on the proxy (so documentserver --http://192.168.1.x:9000--> nginx proxy --https://domain.tld/documentserver--> internet)?

Any help is really appreciated.

Thank you,
alex

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

Re: Document server behind proxy with SSL termination

Post by Carl » Sun Nov 03, 2019 6:51 am

Hi Alex,

You can find our examples for nginx as Document Server proxy here:
https://github.com/ONLYOFFICE/document- ... ster/nginx

alex1452
Posts: 4
Joined: Sun Oct 27, 2019 2:40 am

Re: Document server behind proxy with SSL termination

Post by alex1452 » Tue Nov 05, 2019 9:35 am

Thank you so much, that solved my problem!

Post Reply