Skip to content

Commit

Permalink
nc-static-IP: take into account httpsonly
Browse files Browse the repository at this point in the history
Signed-off-by: nachoparker <[email protected]>
  • Loading branch information
nachoparker committed Sep 13, 2021
1 parent c10d4bd commit 6290c1f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/ncp-diag
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ echo "HTTPD service|$( pgrep -c apache2 &>/dev/null && echo up || echo down )"
echo "PHP service|$( pgrep -c php-fpm &>/dev/null && echo up || echo down )"
echo "MariaDB service|$( pgrep -c mysqld &>/dev/null && echo up || echo down )"
echo "Redis service|$( pgrep -c redis-server &>/dev/null && echo up || echo down )"
echo "HPB service|$(pgrep -c notify_push &>/dev/null && echo up || echo down )"
echo "HPB service|$($SUDO php /var/www/nextcloud/occ notify_push:self-test &>/dev/null && echo up || echo down )"
echo "Postfix service|$( pgrep -fc postfix &>/dev/null && echo up || echo down )"

# WAN
Expand Down
4 changes: 2 additions & 2 deletions bin/ncp/NETWORKING/nc-static-IP.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# More at: https://ownyourbits.com
#


source /usr/local/etc/library.sh

configure()
{
Expand Down Expand Up @@ -87,7 +87,7 @@ EOF
}

ncc config:system:set trusted_domains "${TRUSTED_DOMAINS[ip]}" --value="$IP"
ncc config:system:set overwrite.cli.url --value=https://"$IP"/
set-nc-domain "${IP}"
echo "Static IP set to $IP"
}

Expand Down
4 changes: 3 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

[v1.39.0](https://github.com/nextcloud/nextcloudpi/commit/e4d6e31) (2021-09-05) upgrade to NC21.0.4
[v1.39.1](https://github.com/nextcloud/nextcloudpi/commit/79ee5c5) (2021-09-09) nc-static-IP: take into account httpsonly

[v1.39.0 ](https://github.com/nextcloud/nextcloudpi/commit/3ef774c) (2021-09-05) upgrade to NC21.0.4

[v1.38.6](https://github.com/nextcloud/nextcloudpi/commit/3bf746b) (2021-08-25) raspi: allow oldstable origins

Expand Down

0 comments on commit 6290c1f

Please sign in to comment.