mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-25 07:12:52 +02:00
SparkyFitness: substitute SPARKY_FITNESS_FRONTEND_URL in nginx config
This commit is contained in:
@@ -84,6 +84,7 @@ msg_info "Configuring Nginx"
|
||||
sed \
|
||||
-e 's|${SPARKY_FITNESS_SERVER_HOST}|127.0.0.1|g' \
|
||||
-e 's|${SPARKY_FITNESS_SERVER_PORT}|3010|g' \
|
||||
-e "s|\${SPARKY_FITNESS_FRONTEND_URL}|http://${LOCAL_IP}:80|g" \
|
||||
-e 's|${NGINX_LISTEN_PORT}|80|g' \
|
||||
-e 's|${NGINX_ACCESS_LOG}|/var/log/nginx/sparkyfitness.access.log|g' \
|
||||
-e 's|${NGINX_ERROR_LOG}|/var/log/nginx/sparkyfitness.error.log|g' \
|
||||
|
||||
Reference in New Issue
Block a user