diff --git a/Dockerfile b/Dockerfile index 3b07c97..651aaac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,7 @@ ENV HOME /home/$USER ENV DATA /opt/rainloop RUN adduser -D -u $UID -h $HOME -s /bin/true $USER && \ mkdir -p $DATA && \ - touch /var/log/php-fpm.log && \ - chown -Rh $USER:$USER $DATA /var/log/php-fpm.log + chown -Rh $USER:$USER $DATA # Obtain RainLoop Webmail Community edition, # verify its integrity using GnuPG and then decompress it diff --git a/README.md b/README.md index 1611c24..901ccd4 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,6 @@ volumes: type: none device: /srv/data/rainloop/nginx o: bind - ``` ## updating the Rainloop diff --git a/etc/nginx/conf.d/rainloop.conf b/etc/nginx/conf.d/rainloop.conf index 9c915b5..645595c 100644 --- a/etc/nginx/conf.d/rainloop.conf +++ b/etc/nginx/conf.d/rainloop.conf @@ -37,5 +37,8 @@ server { include fastcgi_params; fastcgi_pass $rainloop; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + + # Prevent exposing nginx + version to $_SERVER + fastcgi_param SERVER_SOFTWARE ""; } }