refactor 2
This commit is contained in:
parent
fde215affc
commit
ef6330ad51
@ -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
|
||||
|
@ -45,7 +45,6 @@ volumes:
|
||||
type: none
|
||||
device: /srv/data/rainloop/nginx
|
||||
o: bind
|
||||
|
||||
```
|
||||
|
||||
## updating the Rainloop
|
||||
|
@ -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 "";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user