mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2025-12-23 18:29:23 -05:00
Revert "feat: make nginx respect ipv6 disable fixes #3996"
This commit is contained in:
3
boot.sh
3
boot.sh
@@ -103,9 +103,6 @@ ipv6_disable=$(cat /sys/module/ipv6/parameters/disable)
|
|||||||
|
|
||||||
# prepare nginx config
|
# prepare nginx config
|
||||||
envsubst '$MEDIA_ROOT $STATIC_ROOT $TANDOOR_PORT' < /opt/recipes/http.d/Recipes.conf.template > /opt/recipes/http.d/Recipes.conf
|
envsubst '$MEDIA_ROOT $STATIC_ROOT $TANDOOR_PORT' < /opt/recipes/http.d/Recipes.conf.template > /opt/recipes/http.d/Recipes.conf
|
||||||
if [ "$ipv6_disable" -eq 1 ]; then
|
|
||||||
sed -i '/listen \[::\]:80/d' /opt/recipes/http.d/Recipes.conf
|
|
||||||
fi
|
|
||||||
|
|
||||||
# start nginx
|
# start nginx
|
||||||
echo "Starting nginx"
|
echo "Starting nginx"
|
||||||
|
|||||||
Reference in New Issue
Block a user