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.
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 ?
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.
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.
@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?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
abra.shIn my tests I had the feeling that this made collabora somewhat faster that with nginx.
@@ -57,4 +0,0 @@# Admin Console websocketlocation ^~ /cool/adminws {Do you know if there are any security considerations, by removing nginx?
@decentral1se you originally added nginx. Do you have an opinion here?
Can't remember why I even did this, proceed! Thanks for the maintenance work 🙏
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 ?
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.
Form my point of view all endpoints are non-critical and they should remain open for collabora to work.
^~ /browserstatic files like css^~ /hosting/discoveryWOPI discovery^~ /hosting/capabilitiesinfo about the server~ ^/cool/(.*)/ws$main WOPI endpoint for document editing~ ^/(c|l)ooldownloads etcThe 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.
@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?