mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-09-21 23:36:31 +08:00
a9c4b1fdf4
Signed-off-by: Zoey <zoey@z0ey.de> Co-Authored-By: Simon L. <szaimen@e.mail.de>
9 lines
205 B
Bash
9 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
|