Unofficial Nginx support for oCIS

Nginx is NOT officially supported as reverse proxy. While things might change in the future, the idea is to officially support only one reverse proxy, and the chosen one is Traefik (at least for now). That’s why ownCloud uses Traefik for the deployment examples.

The idea of this “unofficial” support is for people in the community who want to share their working setup with Nginx, so other people have a base to work on for their own deployments. Note that, while ownCloud will try to check and fix bugs in those setups, if the problem is caused by a Nginx misconfiguration, ownCloud can’t take responsibility.

For those who want to share their setups, just a couple of notes:

  • The expectation is that you show a docker-compose file with just the Nginx container (and anything required for Nginx to work). The idea is to replace the Traefik container from the deployment examples (such as ocis/deployments/examples/ocis_full/docker-compose.yml at master · owncloud/ocis · GitHub) with your Nginx container. The rest of the configuration should remain the same if possible.
  • Anything that should be kept private, such as URLs, should be redacted.
  • If there are things that will need to be manually touched in the provided configuration, make sure those are documented. Just some words like “you need to change this key” or “this key needs to match this other one”.

For those who want to go beyond that and write a blog about how to deploy oCIS with Nginx, feel free to link it here.

I’ll try to keep the popular or most commented setups in this post so they’re easily visible.

Thanks for your attention, and have fun!

1 Like