From: Kanagaraj Manickam k00365106 Date: Wed, 9 May 2018 06:18:07 +0000 (+0000) Subject: Make redirect ready in lighttpd X-Git-Tag: v2.0.2~13^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=3f9fc6aac50fd9d1f4c723cde1e0b8e68a4b8a13;p=cli.git Make redirect ready in lighttpd Issue-ID: CLI-100 Change-Id: I66bece217432dedc82556fb18713a25d7220c8b3 Signed-off-by: Kanagaraj Manickam k00365106 --- diff --git a/deployment/http/lighttpd/10-proxy.conf b/deployment/http/lighttpd/10-proxy.conf index f6ce4946..a2da19c3 100644 --- a/deployment/http/lighttpd/10-proxy.conf +++ b/deployment/http/lighttpd/10-proxy.conf @@ -12,11 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -proxy.server = ( "/onap" => - ( - ( "host" => "127.0.0.1", - "port" => 8080 - ) - ) - ) - +$HTTP["url"] =~ "^/web-console" { + $HTTP["host"] =~ ".*" { + url.redirect = ( "^/(.*)" => "http://%0:8080" ) + url.redirect-code = 302 + } +}