mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-12-24 07:37:04 +00:00
Finalize php configuration
This commit is contained in:
parent
0ccbf1b809
commit
5d6c23cff9
@ -2,6 +2,9 @@
|
||||
root $ROOT;
|
||||
index index.html index.htm;
|
||||
|
||||
# If you want to use the PHP socket, use the "php-fpm" alias.
|
||||
|
||||
# DON'T DELETE THE LINE BELOW
|
||||
# ADDITIONAL DIRECTIVES HERE
|
||||
|
||||
# Disable viewing dotfiles (.htaccess, .svn, .git, etc.)
|
||||
|
@ -7,6 +7,6 @@
|
||||
## your own --- please do not ask for help from us.
|
||||
|
||||
upstream php-fpm {
|
||||
server unix:/var/run/php/php7.3-fpm.sock;
|
||||
server unix:/var/run/php/php!!___PHPVER___!!-fpm.sock;
|
||||
}
|
||||
|
||||
|
@ -180,7 +180,7 @@
|
||||
<hr>
|
||||
|
||||
<footer>
|
||||
<p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a>. (via __OSTAG__)
|
||||
<p>This is a <a href="https://github.com/ddavness/power-mailinabox">Power Mail-in-a-Box</a>, using !!___DIST_TAG___!!
|
||||
</p>
|
||||
</footer>
|
||||
</div> <!-- /container -->
|
||||
|
@ -223,3 +223,5 @@ if [ "$OS" == "Debian GNU/Linux 10 (buster)" ]; then
|
||||
elif [ "$OS" == "Ubuntu 20.04 LTS" ]; then
|
||||
export PHP_VERSION="7.4"
|
||||
fi
|
||||
|
||||
sed -i "s|!!___PHPVER___!!|${PHP_VERSION}|g" conf/nginx-top.conf
|
||||
|
@ -18,7 +18,7 @@ if [ "$OS" != "Debian GNU/Linux 10 (buster)" -a "$OS" != "Ubuntu 20.04 LTS" ]; t
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sed -i "s|__OSTAG__|${OS}|g" management/templates/index.html
|
||||
sed -i "s|!!___DIST_TAG___!!|${OS}|g" management/templates/index.html
|
||||
|
||||
# Check that we have enough memory.
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user