2
0

Minor webservice enhancements

* forced text/html MIME type to the nginx.conf static messages
* preparation of a static web service in nginx.conf
* preparation of static certificates in configs folder and nginx.conf
* missing } in nginx.conf
This commit is contained in:
2025-02-02 18:26:25 +01:00
parent 0547b81062
commit 125466cf1e
4 changed files with 28 additions and 4 deletions

View File

@ -8,6 +8,9 @@
#
# Author: Kovács Zoltán <kovacs.zoltan@smartfront.hu>
# License: GNU/GPL v3+ (https://www.gnu.org/licenses/gpl-3.0.en.html)
#
# 2025-02-02 v1.2
# fix: unwanted error message in old docker-compose detection.
# 2024-08-24 v1.1
# new: docker-compose v2 compatibility - tested with Ubuntu 24.04 LTS.
# 2023-06-18 v1.0
@ -40,7 +43,7 @@ done
# All dependencies are available via "$THECOMMAND" (upper case) call.
#
# Let's find which version of docker-compose is installed.
if [ $($DOCKER compose version 2>&1 >/dev/null; echo $?) -eq 0 ]; then
if [ $($DOCKER compose version >/dev/null 2>&1; echo $?) -eq 0 ]; then
# We'll use v2 if it is available.
DOCKER_COMPOSE="$DOCKER"
commandstring="compose"