-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
Onlyoffice WIP #249
Onlyoffice WIP #249
Conversation
Seems like this needs a second domain after all... Maybe revert to Collabora settings with a SUBDOMAIN and then reverse proxy the whole thing as in the Collabora setup? |
You need a separate domain, a new docker and you can't' enable it at the same time as Collabora, so would need to bring the other docker down when switching. |
@oparoz So basically the same setup as Collabora? |
Yes |
@oparoz Any idea how the Apache conf file should look like? |
Would a reverse proxy to a custom port solve the problem? |
This one:
You can put OnlyOffice on port 8181 for example. With a nginx / apache reverse proxy you would be able to serve it via http / https. |
Ah, that's not the issue. |
Seems like Nextcloud needs an "Open with..." dialog. |
Yes, it should work like on Android |
That's not the issue here. The issue is to get it up and running at all. For Collabora we use the "standard" reverse proxy in Apache as you can see in the config. Question is, how should the proxying look like for OO? There is currently a bounty of $50 for the one that solves this PR. Anyone interested? |
OK, I'll give you a proxy. But I don't understand what the problem is with the instructions they give. |
Docker
Vhost
|
@oparoz Great thanks, and for SSL? |
You don't need SSL, but you could just use 443 for the vhost and add the standard SSL section, copied from Collabora. You'll need a different cert though... |
@oparoz Can you test and confirm that it works and if not, change it until it works and I'll send you $50. |
@oparoz Tried with both plain 80 and also 443, get this error: Apache error log
|
If I add /welcome to ProxyPass I get to index, but it still doesn't work. |
Current docker: |
You're passing an http request to an https backend. You have to pick one or the other. |
Current vhost:
Current docker
Result: https://oo.danielhansson.nu |
apps/onlyoffice.sh
Outdated
# basic proxy settings | ||
ProxyRequests off | ||
|
||
ProxyPass / http://127.0.0.3:9090/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You use http and wss (websocket secure like https but then for sockets), you you want this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@brantje If I change to https it fails. Any idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ONLYOFFICE not reached. Please contact admin
Tested and works! Let's improve this along the way. HTTPS all the way would be preferred. |
https://github.com/ONLYOFFICE/Docker-DocumentServer