-
Notifications
You must be signed in to change notification settings - Fork 40
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
Sharing the nginx files? #2
Comments
In my case I keep getting (using docker logs output of Libreoffice Online):
|
I think Content Security Policy is to blame for this... Looking at the console logs. |
Ah nice, thanks for sharing your config! Maybe you want to provide a patch against that file? |
Does LO work without nextcloud, i.e. can you access something like |
You're welcome! I tried this config as well, without any luck too bad.
I can try. Atleast the admin panel does work flawlessly: |
我不是使用nginx,不過有將libreoffice online建置成功,docker-compose.yml,參考一下
|
I have set my instance of this project behind an NGINX reverse proxy. The setup is that I have one internet facing IP and I host quite a few sites (and other things - email etc). I use the nameserver zone editor to carve up subdomains on my main website which allows me to host different services for my own use (I have a search engine, a wiki, a website, a nextcloud server and so on). All of these things are setup on VMs. The internet facing router has a portforward rule to send all port 80 requests to 192.168.1.15 which is the NGINX server. This then inspects the header for the originating domain (or subdomain) and it then upgrades the headers and points each request to a local network IP, which is of course the IP of the correct server for that domain or subdomain. I have also opened port 9980 to also pass all traffic to the NGINX server 192.168.15 - this is important!
This setup works, but, in this part of the wiki "Then go to Configuration->Collabora Online and enter the domain name of your other VM, e.g. http://libreoffice.yourhost:9980" you must omit the :9980 because the NGINX header upgrade handles this portnumber change. To get to the nextcloud from anywhere on the web (ie not on the local network) I just go to: Hope this helps someone! |
Hi,
I'm using both Nextcloud & Libreoffice Online behind a Nginx reverse proxy webserver.
It means it could be handy to also share those Nginx site configuration files.
See attachments for my config files (do whatever you like with it 👍 ).
DISCLAIMER: I do not have LibreOffice still fully working actually. But my Nextcloud config does work really well.
Do you use any web-server on the host? Since for the production environment it is a good practice to use reverse proxy on top of the Nextcloud installation.
Regards,
Melroy van den Berg
Attachments: nginx_nextcloud_libreoffice_configs.zip
The text was updated successfully, but these errors were encountered: