delete http.d by default

This commit is contained in:
vabene1111
2025-07-28 21:32:59 +02:00
parent 61afbbdfbe
commit 8149b05185
2 changed files with 1 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ RUN apk add --no-cache --virtual .build-deps gcc musl-dev postgresql-dev zlib-de
COPY . ./
# delete default nginx config and link it to tandoors config
#RUN rm -rf /etc/nginx/conf.d
RUN rm -rf /etc/nginx/http.d
RUN ln -s /opt/recipes/nginx/conf.d /etc/nginx/http.d
# commented for now https://github.com/TandoorRecipes/recipes/issues/3478

View File

@@ -5,7 +5,6 @@ TANDOOR_PORT="${TANDOOR_PORT:-8080}"
GUNICORN_WORKERS="${GUNICORN_WORKERS:-3}"
GUNICORN_THREADS="${GUNICORN_THREADS:-2}"
GUNICORN_LOG_LEVEL="${GUNICORN_LOG_LEVEL:-'info'}"
NGINX_CONF_FILE=/opt/recipes/nginx/conf.d/Recipes.conf
display_warning() {
echo "[WARNING]"
@@ -14,11 +13,6 @@ display_warning() {
echo "Checking configuration..."
# Nginx config file must exist if gunicorn is not active
if [ ! -f "$NGINX_CONF_FILE" ] && [ $GUNICORN_MEDIA -eq 0 ]; then
display_warning "Nginx configuration file could not be found at the default location!\nPath: ${NGINX_CONF_FILE}"
fi
# SECRET_KEY (or a valid file at SECRET_KEY_FILE) must be set in .env file
if [ -f "${SECRET_KEY_FILE}" ]; then