Remove nginx from recipe #17

Merged
stevensting merged 3 commits from remove-nginx into main 2026-11-30 14:22:14 +00:00
Owner

nginx was removed as it was only used because it was recommended and a config file delivered. endpoint filtering is now done by traefik.

<!-- 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) > nginx was removed as it was only used because it was recommended and a config file delivered. endpoint filtering is now done by traefik.
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.
nginx.conf.tmpl Outdated
@@ -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.
Author
Owner

@moritz I now also added the limited endpoints from the nginx config as docker labels for traefik. Would you be up for merging together with the admin console PR?

@moritz I now also added the limited endpoints from the nginx config as docker labels for traefik. Would you be up for merging together with the admin console PR?
stevensting added 1 commit 2026-11-26 13:41:20 +00:00
Merge branch 'main' into remove-nginx
continuous-integration/drone/pr Build is failing
77140a5df1
stevensting added 1 commit 2026-11-26 17:16:54 +00:00
nginx only serves the known collabora endpoints now
continuous-integration/drone/pr Build is failing
bc1fa30aa8
moritz approved these changes 2026-11-30 13:14:44 +00:00
stevensting merged commit 0a11d0d8be into main 2026-11-30 14:22:14 +00:00
stevensting deleted branch remove-nginx 2026-11-30 14:22:15 +00:00
Sign in to join this conversation.