Christopher e6667ea933 🔧 feat(casaos-nextcloud): Add LAN IP to Nextcloud config (#40)
This commit adds the LAN IP address to the Nextcloud configuration file
(`config.php`). The changes ensure that Nextcloud can be accessed using the
LAN IP address, in addition to the default `localhost` address.

The key changes are:

- Implement a function `Get_IPs()` to reliably detect the LAN IP address,
  prioritizing non-loopback and non-docker interfaces.
- Use the detected LAN IP address to update the `config.php` file, adding it
  as an additional entry in the `trusted_domains` setting.
- Backup the original `config.php` file before making changes.
2025-04-30 23:48:01 -05:00
2023-10-04 21:27:05 -05:00
2023-08-14 21:39:57 -05:00
2023-10-27 11:00:31 -05:00

BigBearScripts

YouTube Link: https://www.youtube.com/@bigbeartechworld

BigBearCommunity

If you have a suggestion for a video, post in the BigBearCommunity.

Support My Work

ko-fi

Description
No description provided
Readme MIT 1 MiB
Languages
Shell 99.2%
JavaScript 0.8%