mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 10:05:39 +00:00
Adjust pkgr.yml (#6608)
* Adjust pkgr.yml - Ref: https://github.com/inventree/InvenTree/issues/6154#issuecomment-1970536725 - Ref: https://doc.packager.io/documentation/customizing-the-build/#dependencies * add in nginx config again --------- Co-authored-by: Matthias Mair <code@mjmair.com>
This commit is contained in:
@ -183,7 +183,7 @@ function create_initscripts() {
|
||||
${INIT_CMD} stop nginx
|
||||
echo "# Setting up nginx to ${SETUP_NGINX_FILE}"
|
||||
# Always use the latest nginx config; important if new headers are added / needed for security
|
||||
cp ${APP_HOME}/docker/production/nginx.prod.conf ${SETUP_NGINX_FILE}
|
||||
cp ${APP_HOME}/contrib/packager.io/nginx.prod.conf ${SETUP_NGINX_FILE}
|
||||
sed -i s/inventree-server:8000/localhost:6000/g ${SETUP_NGINX_FILE}
|
||||
sed -i s=var/www=opt/inventree/data=g ${SETUP_NGINX_FILE}
|
||||
# Start nginx
|
||||
|
Reference in New Issue
Block a user