refactor 2
This commit is contained in:
parent
fde215affc
commit
ef6330ad51
@ -16,8 +16,7 @@ ENV HOME /home/$USER
|
|||||||
ENV DATA /opt/rainloop
|
ENV DATA /opt/rainloop
|
||||||
RUN adduser -D -u $UID -h $HOME -s /bin/true $USER && \
|
RUN adduser -D -u $UID -h $HOME -s /bin/true $USER && \
|
||||||
mkdir -p $DATA && \
|
mkdir -p $DATA && \
|
||||||
touch /var/log/php-fpm.log && \
|
chown -Rh $USER:$USER $DATA
|
||||||
chown -Rh $USER:$USER $DATA /var/log/php-fpm.log
|
|
||||||
|
|
||||||
# Obtain RainLoop Webmail Community edition,
|
# Obtain RainLoop Webmail Community edition,
|
||||||
# verify its integrity using GnuPG and then decompress it
|
# verify its integrity using GnuPG and then decompress it
|
||||||
|
@ -45,7 +45,6 @@ volumes:
|
|||||||
type: none
|
type: none
|
||||||
device: /srv/data/rainloop/nginx
|
device: /srv/data/rainloop/nginx
|
||||||
o: bind
|
o: bind
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## updating the Rainloop
|
## updating the Rainloop
|
||||||
|
@ -37,5 +37,8 @@ server {
|
|||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_pass $rainloop;
|
fastcgi_pass $rainloop;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
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