Update ngxproxy

This commit is contained in:
Wonderfall 2016-05-30 15:46:59 +02:00
parent e847e60573
commit aab7a89cf6

View File

@ -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