Bugfix in filling in FLARUM_PUBLIC_PATH in startup script

pull/47/head
Alexander Skvortsov 2020-02-16 19:21:03 -05:00
parent d5b7e197d4
commit da00260f7c
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ fi
# Set file config for nginx and php
sed -i "s/<FLARUM_PORT>/${FLARUM_PORT}/g" /etc/nginx/nginx.conf
sed -i "s/<FLARUM_PORT>/${FLARUM_PUBLIC_PATH}/g" /etc/nginx/nginx.conf
sed -i "s|<FLARUM_PUBLIC_PATH>|${FLARUM_PUBLIC_PATH}|g" /etc/nginx/nginx.conf
sed -i "s/<UPLOAD_MAX_SIZE>/${UPLOAD_MAX_SIZE}/g" /etc/nginx/nginx.conf /etc/php7/php-fpm.conf
sed -i "s/<PHP_MEMORY_LIMIT>/${PHP_MEMORY_LIMIT}/g" /etc/php7/php-fpm.conf
sed -i "s/<OPCACHE_MEMORY_LIMIT>/${OPCACHE_MEMORY_LIMIT}/g" /etc/php7/conf.d/00_opcache.ini