Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
f18m committed Feb 19, 2025
1 parent 32562ad commit 9fb1db0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions rootfs/etc/s6-overlay/s6-rc.d/nginx-init/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
# NGINX SETTINGS #
##################

NGINX_INGRESS_CONF= ${NGINX_INGRESS_CONF}
NGINX_INGRESS_CONF=/etc/nginx/servers/ingress.conf

# ==============================================================================
# FUNCTIONS
Expand Down Expand Up @@ -46,9 +46,9 @@ fi
log_info "Starting nginx ingress configuration..."
log_info "Settings are: ingress_port=${ingress_port}, ingress_interface=${ingress_interface}, ingress_entry=${ingress_entry}, web_ui_port=${web_ui_port}"

sed -i "s/%%port%%/${ingress_port}/g" ${NGINX_INGRESS_CONF}
sed -i "s/%%interface%%/${ingress_interface}/g" ${NGINX_INGRESS_CONF}
sed -i "s|%%ingress_entry%%|${ingress_entry}|g" ${NGINX_INGRESS_CONF}
sed -i "s|%%web_ui_port%%|${web_ui_port}|g" ${NGINX_INGRESS_CONF}
sed -i "s/%%port%%/${ingress_port}/g" ${NGINX_INGRESS_CONF}
sed -i "s/%%interface%%/${ingress_interface}/g" ${NGINX_INGRESS_CONF}
sed -i "s|%%ingress_entry%%|${ingress_entry}|g" ${NGINX_INGRESS_CONF}
sed -i "s|%%web_ui_port%%|${web_ui_port}|g" ${NGINX_INGRESS_CONF}

log_info "nginx ingress config complete."
2 changes: 1 addition & 1 deletion test-startepoch
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1739965934
1739966196

0 comments on commit 9fb1db0

Please sign in to comment.