LierschIT / PuIPWOPI

This script looks for the actual public IP address and add this IP to the WOPI configuration of Nextcloud. It uses the OpenSource Projekt https://ipify.org to gather the public IP. It is helpful to use for a Collabora Server next to Nextcloud from home.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PuIPWOPI - Public IP for WOPI

Description

This script looks for the actual public IP address and add this IP to the WOPI configuration of Nextcloud. It uses the OpenSource Projekt https://ipify.org to gather the public IP.

It is helpful to use for a Collabora Server next to Nextcloud from home.

Usage

Download or Copy the script into an editor and save it. Use chmod +x to make it executable. Now for example you can use crontag -e to start the script every day or hour.

My crontab job looks like that:

20 0/3 * * * /{PATH-TO-FILE}/pubipwopi.sh >> /dev/null

About

This script looks for the actual public IP address and add this IP to the WOPI configuration of Nextcloud. It uses the OpenSource Projekt https://ipify.org to gather the public IP. It is helpful to use for a Collabora Server next to Nextcloud from home.

License:MIT License


Languages

Language:Shell 100.0%