Skip to content

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

Notifications You must be signed in to change notification settings

LierschIT/PuIPWOPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Languages