diff --git a/.sandstorm/launcher.sh b/.sandstorm/launcher.sh index 537385c74a..d540f123aa 100755 --- a/.sandstorm/launcher.sh +++ b/.sandstorm/launcher.sh @@ -58,5 +58,9 @@ echo "Migrating..." php /opt/app/artisan migrate --seed --force echo "Done!" +echo "Clear cache.." +php /opt/app/artisan cache:clear +echo "Done" + # Start nginx. /usr/sbin/nginx -c /opt/app/.sandstorm/service-config/nginx.conf -g "daemon off;" diff --git a/.sandstorm/service-config/nginx.conf b/.sandstorm/service-config/nginx.conf index a05561a463..2d91cb5721 100644 --- a/.sandstorm/service-config/nginx.conf +++ b/.sandstorm/service-config/nginx.conf @@ -57,6 +57,7 @@ http { fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + fastcgi_read_timeout 900; fastcgi_param QUERY_STRING $query_string; diff --git a/.sandstorm/setup.sh b/.sandstorm/setup.sh index 4e71d71bd1..8c794e9588 100755 --- a/.sandstorm/setup.sh +++ b/.sandstorm/setup.sh @@ -14,8 +14,11 @@ apt-get install -y python-software-properties software-properties-common # install all languages sed -i 's/# de_DE.UTF-8 UTF-8/de_DE.UTF-8 UTF-8/g' /etc/locale.gen sed -i 's/# fr_FR.UTF-8 UTF-8/fr_FR.UTF-8 UTF-8/g' /etc/locale.gen +sed -i 's/# id_ID.UTF-8 UTF-8/id_ID.UTF-8 UTF-8/g' /etc/locale.gen sed -i 's/# nl_NL.UTF-8 UTF-8/nl_NL.UTF-8 UTF-8/g' /etc/locale.gen sed -i 's/# pl_PL.UTF-8 UTF-8/pl_PL.UTF-8 UTF-8/g' /etc/locale.gen +sed -i 's/# ru_RU.UTF-8 UTF-8/ru_RU.UTF-8 UTF-8/g' /etc/locale.gen +sed -i 's/# tr_TR.UTF-8 UTF-8/tr_TR.UTF-8 UTF-8/g' /etc/locale.gen dpkg-reconfigure --frontend=noninteractive locales