HTTP Proxy

Sometimes it’s handy to use a http proxy like nginx or apache to forward requests to an internal server or Docker container running Group-Office. If you do this then you need to set these headers to make Group-Office operate properly:

  • X-Forwarded-Proto : http or https. This is the protocol the proxy server uses.

  • X-Forwarded-Host : The hostname of the proxy server.

See for more information:

504 Gateway Time-out

Some requests to Group-Office live for a long time:

  • sse.php: Used for server sent events to update changes with a push notification. It lives for 120s

  • Microsoft-Server-ActiveSync, For synchronising mobile devices. It may live up to 3600s.

In your Apache Proxy configuration you could use:

ProxyTimeout 1800