Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update reverse-proxy.md for Collabora Compatibility #6299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
Zade222 wants to merge 1 commit into nextcloud:main
base: main
Choose a base branch
Loading
from Zade222:patch-1

Conversation

@Zade222
Copy link

@Zade222 Zade222 commented Apr 14, 2025

Added 'location ^~ /*' lines for collabora compatibility as the current config does now allow for collabora use and just results in a time out.

There may be some oddities so I encourage discussing what's been added to drill down to a proper solution for everyone to use. I mainly got to this point after arguing with Google Gemini 2.5 Pro for a fair bit of time but ultimately got collabora working.

Added 'location ^~ /*' lines for collabora compatibility as the current config does now allow for collabora use and just results in a time out.
There may be some oddities so I encourage discussing what's been added to drill down to a proper solution for everyone to use.
Signed-off-by: tylerbib <Zadeis@users.noreply.github.com>
Copy link
Collaborator

@Zoey2936 Zoey2936 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works for me without this change

Copy link
Author

Zade222 commented Apr 14, 2025

works for me without this change

Does it? For me the current config results in a timeout. Is your nginx proxy on a separate device or local to the nextcloud host?

Copy link
Collaborator

are you sure that you correctly configured the websocket mappings?

Copy link
Author

Zade222 commented Apr 15, 2025

The default config results in a "the server responded with a status of 400 ()" in the browser console leading credence to a malformed url/request. Given the current nginx config for an external proxy makes no mention of the config entries mentioned in the Collabora documentation here further leads me to believe these are required.
In addition the optional caddy file in the apache container config mentions the the same browser, hosting and cool entries.

Ultimately I do think my websocket settings are fine as I used the default config with my relevant ip address changes and cert changes. My setup isn't exotic (luckily). Just nginx running on a NUC running debian and nextcloud AIO running on another machine accessed via the apache port. Without the changes in my commit nextcloud alone runs fine. Just when attempting to use Collabora/Nextcloud Office it times out with the error/problem mentioned.

@szaimen szaimen added 2. developing Work in progress documentation Improvements or additions to documentation labels Apr 17, 2025
@szaimen szaimen marked this pull request as draft June 18, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Zoey2936 Zoey2936 Zoey2936 requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

2. developing Work in progress documentation Improvements or additions to documentation

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /