angristan / angristan/nginx-autoinstall
Plesk Support + Passenger
- Ngôn ngữ chính
- Shell
- Star
- 646
- Fork
- 231
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hello everyone!
It would be interesting to add support for installation on Plesk + Passenger server (node app host).
Tested on Ubuntu 20.04.2 LTS:
```
while [[ $PLESK != "y" && $PLESK != "n" ]]; do
read -rp " Plesk installation [y/n]: " -e PLESK
done
```
if [[ $PLESK == 'y' ]]; then
passenger_ngx_addon_dir=$(passenger-config --nginx-addon-dir)
NGINX_OPTIONS=$(
echo "$NGINX_OPTIONS"
echo --prefix=/usr/share --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --modules-path=/usr/share/nginx/modules --error-log-path=/var/log/nginx/error.log
echo --http-log-path=/var/log/nginx/access.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body
echo --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi
echo --with-compat
if [ -n "${passenger_ngx_addon_dir}" ]; then
echo --add-dynamic-module=$(passenger-config --nginx-addon-dir)
fi
#echo --add-dynamic-module=$(passenger-config --nginx-addon-dir)
)
fi
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.