Skip to main content

Docker Reverse Proxy

Reverse proxy configuration for Sync-in using Docker Compose.

📋 Prerequisites​

A dedicated configuration is included in the previously retrieved Sync-in docker-compose and relies on the official Nginx image.

⚡ Activation​

To enable it, edit the docker-compose.yaml file and uncomment the following lines at the top of the file:

include:
- ./config/nginx/docker-compose.nginx.yaml

To configure HTTPS, edit the ./config/nginx/nginx.conf file and add your SSL certificates.

Published port​

The bundled Nginx service publishes port 80 by default. If that port is already in use, change only the host side of the mapping in ./config/nginx/docker-compose.nginx.yaml:

services:
nginx:
ports:
- '8060:80'

Keep the container port and the internal proxy_pass ports unchanged.

info

docker compose up -d to apply the changes

🌐 Access​

Nginx is now enabled on port 80. For a local Sync-in-only test, the interface is accessible via:

http://localhost

If you enable external editors such as Collabora Online, OnlyOffice, Euro-Office, or draw.io, access Sync-in using the server IP address or a properly configured domain name instead. If server.publicUrl is configured, use the address it defines:

http://your-domain

With the 8060:80 example above, use:

http://your-server:8060

When HTTPS is configured in ./config/nginx/nginx.conf, use the HTTPS URL:

https://your-domain