No nginx configuration for FreeBSD

This commit is contained in:
Stephan Oeste 2022-08-30 13:10:22 +02:00
parent 916042faab
commit e27b97f0f4
No known key found for this signature in database
GPG Key ID: 3152347D07DA627C

View File

@ -1770,6 +1770,12 @@ _EOF_
##### nginx ##### nginx
case $OS in
FreeBSD)
;;
Debian)
echo "[*] Adding Nginx configuration" echo "[*] Adding Nginx configuration"
osSudo "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${MEMPOOL_HOME}/${MEMPOOL_REPO_NAME}/production/nginx/nginx.conf" "${NGINX_CONFIGURATION}" osSudo "${ROOT_USER}" install -c -o "${ROOT_USER}" -g "${ROOT_GROUP}" -m 644 "${MEMPOOL_HOME}/${MEMPOOL_REPO_NAME}/production/nginx/nginx.conf" "${NGINX_CONFIGURATION}"
mkdir -p /var/cache/nginx/services /var/cache/nginx/api mkdir -p /var/cache/nginx/services /var/cache/nginx/api
@ -1788,6 +1794,8 @@ echo "[*] Read tor v3 onion hostnames"
fi fi
echo "[*] Restarting Nginx" echo "[*] Restarting Nginx"
osSudo "${ROOT_USER}" service nginx restart osSudo "${ROOT_USER}" service nginx restart
;;
esac
##### OS systemd ##### OS systemd