#!/bin/bash

if [ $(CreoleGet activer_revprox) = "oui" ];then
    . /usr/lib/eole/diagnose.sh
    EchoGras "*** Reverse Proxy"
    if [ "$(CreoleGet revprox_auto_config_local_web 2>/dev/null)" = "oui" -o \
         $(CreoleGet revprox_activate_http) = "oui" ];then
        TestHTTPPage "nginx" "http://localhost/50x.html"
    else
        NoConfig "nginx"
    fi
    echo
fi

exit 0
