mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-06 05:51:49 +08:00
a9c4b1fdf4
Signed-off-by: Zoey <zoey@z0ey.de> Co-Authored-By: Simon L. <szaimen@e.mail.de>
8 lines
205 B
Bash
8 lines
205 B
Bash
#!/bin/bash
|
|
|
|
curl -skfI localhost:8000 || exit 1
|
|
if [ "$APACHE_PORT" != '443' ]; then
|
|
curl -skfI localhost:"$APACHE_PORT" || exit 1
|
|
else
|
|
curl -skfI https://"$NC_DOMAIN":"$APACHE_PORT" || exit 1
|
|
fi
|