Remove nginx from recipe #17

Open
stevensting wants to merge 1 commits from remove-nginx into main
Owner
<!-- Thank you for doing recipe maintenance work! Please mark all checklist items which are relevant for your changes. Please remove the checklist items which are not relevant for your changes. Feel free to remove this comment. --> * [x] I have deployed and tested my changes * [x] I have [updated relevant versions in `abra.sh`](https://docs.coopcloud.tech/maintainers/upgrade/#updating-versions-in-the-abrash) * [x] I have made my environment variable changes [backwards compatible](https://docs.coopcloud.tech/maintainers/upgrade/#backwards-compatible-environment-variable-changes) * [ ] I have added a [release note entry](https://docs.coopcloud.tech/maintainers/upgrade/#creating-new-release-notes)
stevensting added 1 commit 2026-09-11 18:50:41 +00:00
remove nginx, collabora interfaces directly with traefik
continuous-integration/drone/pr Build is failing
11f199ffb8
stevensting requested review from Apfelwurm 2026-09-11 18:51:03 +00:00
stevensting requested review from devydave 2026-09-12 12:32:28 +00:00
stevensting requested review from carla 2026-09-16 08:07:46 +00:00
stevensting requested review from moritz 2026-09-16 08:07:47 +00:00
stevensting requested review from simon 2026-09-16 08:07:47 +00:00
Author
Owner

In my tests I had the feeling that this made collabora somewhat faster that with nginx.

In my tests I had the feeling that this made collabora somewhat faster that with nginx.
@@ -57,4 +0,0 @@
# Admin Console websocket
location ^~ /cool/adminws {
Owner

Do you know if there are any security considerations, by removing nginx?

Do you know if there are any security considerations, by removing nginx?
Author
Owner

@decentral1se you originally added nginx. Do you have an opinion here?

@decentral1se you originally added nginx. Do you have an opinion here?
Owner

Can't remember why I even did this, proceed! Thanks for the maintenance work 🙏

Can't remember why I even did this, proceed! Thanks for the maintenance work 🙏
Author
Owner

from my point of view this should be fine, as collabora is intended to be run directly behind a reverse-proxy.
Maybe we could disable the admin console endpoint with the coolwsd directly or at least make it configureable with a disabled default. What do you think @moritz ?

from my point of view this should be fine, as collabora is intended to be run directly behind a reverse-proxy. Maybe we could disable the admin console endpoint with the coolwsd directly or at least make it configureable with a disabled default. What do you think @moritz ?
Owner

I think it's an good idea to make the admin console configurable with a disabled default. But I'm not sure, what the other endpoints and proxy header options in the nginx configuration are doing exactly, and what would be the consequences without them.

I think it's an good idea to make the admin console configurable with a disabled default. But I'm not sure, what the other endpoints and proxy header options in the nginx configuration are doing exactly, and what would be the consequences without them.
Author
Owner

Form my point of view all endpoints are non-critical and they should remain open for collabora to work.
^~ /browser static files like css
^~ /hosting/discovery WOPI discovery
^~ /hosting/capabilities info about the server
~ ^/cool/(.*)/ws$ main WOPI endpoint for document editing
~ ^/(c|l)ool downloads etc

The config made ngnix drops everything but the defined endpoints. If we wanted to, we could do it the same for the traefik config, but I would assume that isn't really necessary as collabora is designed to run public facing.
All other config params are already handled by traefik in default config, so no need to add anything.

Form my point of view all endpoints are non-critical and they should remain open for collabora to work. `^~ /browser` static files like css `^~ /hosting/discovery` WOPI discovery `^~ /hosting/capabilities` info about the server `~ ^/cool/(.*)/ws$` main WOPI endpoint for document editing `~ ^/(c|l)ool` downloads etc The config made ngnix drops everything but the defined endpoints. If we wanted to, we could do it the same for the traefik config, but I would assume that isn't really necessary as collabora is designed to run public facing. All other config params are already handled by traefik in default config, so no need to add anything.
Some required checks failed
continuous-integration/drone/pr Build is failing
This pull request has changes conflicting with the target branch.
  • compose.yml
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin remove-nginx:remove-nginx
git checkout remove-nginx
Sign in to join this conversation.