mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
Update ngxproxy
This commit is contained in:
parent
e847e60573
commit
aab7a89cf6
@ -26,7 +26,7 @@ read -p "Webroot (default is /): " WEBROOT
|
|||||||
if [ "$WEBROOT" == "" ]; then
|
if [ "$WEBROOT" == "" ]; then
|
||||||
WEBROOT="/"
|
WEBROOT="/"
|
||||||
else
|
else
|
||||||
echo "Depending on the app, you might have to add a proxy header to get your custom webroot working."
|
echo "WARNING: Depending on the app, you might have to add a proxy header to get your custom webroot working."
|
||||||
|
|
||||||
while [[ "$CONFIGURE_WEBROOT" != "y" && "$CONFIGURE_WEBROOT" != "n" ]]; do
|
while [[ "$CONFIGURE_WEBROOT" != "y" && "$CONFIGURE_WEBROOT" != "n" ]]; do
|
||||||
read -p "Is it required to configure it? [y/n]: " CONFIGURE_WEBROOT
|
read -p "Is it required to configure it? [y/n]: " CONFIGURE_WEBROOT
|
||||||
@ -34,7 +34,7 @@ else
|
|||||||
|
|
||||||
if [ "$CONFIGURE_WEBROOT" == "y" ]; then
|
if [ "$CONFIGURE_WEBROOT" == "y" ]; then
|
||||||
while [ "$WEBROOT_HEADER" == "" ]; do
|
while [ "$WEBROOT_HEADER" == "" ]; do
|
||||||
read -p "Type the required proxy_set_header: " WEBROOT_HEADER
|
read -p "Type the required proxy_set_header (something like X-Script-Name): " WEBROOT_HEADER
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user