From 788a78ac73ae5cbc18d2f6b37218721b7494a279 Mon Sep 17 00:00:00 2001 From: kritzl Date: Sat, 28 Oct 2023 12:25:34 +0200 Subject: [PATCH] update Limesurvey to 6.3.1 --- limesurvey/Dockerfile | 7 ++++--- limesurvey/nginx.conf | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/limesurvey/Dockerfile b/limesurvey/Dockerfile index 76445a8..0e05f1e 100644 --- a/limesurvey/Dockerfile +++ b/limesurvey/Dockerfile @@ -20,18 +20,19 @@ RUN mkdir -p /var/www /run/php WORKDIR /var/www # Get download URL here: https://community.limesurvey.org/downloads/ -ARG LIMESURVEY_RELEASE=https://download.limesurvey.org/latest-master/limesurvey6.2.7+230918.zip +ARG LIMESURVEY_RELEASE=https://download.limesurvey.org/latest-master/limesurvey6.3.1+231023.zip RUN wget $LIMESURVEY_RELEASE -O limesurvey.zip RUN unzip limesurvey.zip RUN rm -rf limesurvey/upload -RUN mkdir -p /app/config /app/upload +RUN mkdir -p /app/config /app/upload /opt/log/ +RUN touch /opt/log/limesurvey.log.slow RUN ln -sf /app/config/config.php /var/www/limesurvey/application/config/config.php RUN ln -sf /app/config/security.php /var/www/limesurvey/application/config/security.php RUN ln -sf /app/upload /var/www/limesurvey/upload RUN chmod o+w /var/www/limesurvey/application/config -COPY nginx.conf /etc/nginx/sites-enabled/limesurvey.conf +COPY nginx.conf /etc/nginx/sites-enabled/default COPY www.conf /etc/php/8.2/fpm/pool.d/www.conf COPY run.sh /usr/local/bin/run diff --git a/limesurvey/nginx.conf b/limesurvey/nginx.conf index 7932c0d..b0b868b 100644 --- a/limesurvey/nginx.conf +++ b/limesurvey/nginx.conf @@ -4,7 +4,7 @@ upstream limesurvey-handler { server { listen 80; - server_name survey.mafiasi.de; + server_name _; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; @@ -25,7 +25,7 @@ server { location / { root /var/www/limesurvey; - try_files $uri $uri/index.php; + try_files $uri /index.php; } location /tmp/ {