From aaa9b47ff1f6c40b3a71bd48622efa507dc78d00 Mon Sep 17 00:00:00 2001 From: Thoralf Rickert-Wendt Date: Fri, 4 Feb 2022 12:24:10 +0100 Subject: [PATCH] Typo and unusual default configuration and link to prebuild image --- Dockerfile | 2 ++ README.md | 2 +- deploy/apache/avideo.conf | 7 +++---- install/index.php | 8 ++++---- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1a8a1830f8..d46bdb90e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -95,6 +95,8 @@ RUN chmod 755 /usr/local/bin/docker-entrypoint && \ chown -R www-data:www-data /var/www/html/AVideo && \ cd /var/www/html/AVideo/plugin/User_Location/install && \ unzip install.zip && \ + sed -i 's/^post_max_size.*$/post_max_size = 100M/' /etc/php/7.4/apache2/php.ini && \ + sed -i 's/^upload_max_filesize.*$/upload_max_filesize = 100M/' /etc/php/7.4/apache2/php.ini && \ a2enmod rewrite expires headers ssl xsendfile VOLUME /var/www/tmp diff --git a/README.md b/README.md index 29c7aad8e8..e1995fcfa9 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ docker-compose up --build -d In production you should remove the phpmyadmin image by setting `ENABLE_PHPMYADMIN=no`. -Also we're working on a prebuild image. +Also we're working on a prebuild image. So you can use the image from [Docker hub](https://hub.docker.com/r/trickert76/avideo-platform/tags). # Roadmap diff --git a/deploy/apache/avideo.conf b/deploy/apache/avideo.conf index 52260b5366..ff87ae575e 100644 --- a/deploy/apache/avideo.conf +++ b/deploy/apache/avideo.conf @@ -2,10 +2,10 @@ ServerName SERVER_NAME ServerAdmin webmaster@localhost DocumentRoot "/var/www/html/AVideo" - + ErrorLog /dev/stderr TransferLog /dev/stdout - + RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} @@ -18,7 +18,7 @@ ErrorLog /dev/stderr TransferLog /dev/stdout - + SSLEngine on SSLCertificateFile TLS_CERTIFICATE_FILE SSLCertificateKeyFile TLS_CERTIFICATE_KEY @@ -33,4 +33,3 @@ Order Allow,Deny Allow from All - diff --git a/install/index.php b/install/index.php index efb6904f83..d37042a9e8 100644 --- a/install/index.php +++ b/install/index.php @@ -230,7 +230,7 @@ require_once '../locale/function.php';
- +
@@ -238,7 +238,7 @@ require_once '../locale/function.php';
- +
@@ -247,7 +247,7 @@ require_once '../locale/function.php';
- +

@@ -339,7 +339,7 @@ require_once '../locale/function.php'; if (xhr.status == 404) { avideoAlert("Sorry!", "Your Site URL is wrong!", "error"); } else { - avideoAlert("Sorry!", "Unknow error!", "error"); + avideoAlert("Sorry!", "Unknown error!", "error"); } } });