aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/http/lighttpd/10-proxy.conf
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2018-05-09 10:46:12 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-09 10:46:12 +0000
commit578334b7122d8c022756ba1e73c7d05c4b435d98 (patch)
treecec49a773a5931a323ff5ee45d988a9547a95707 /deployment/http/lighttpd/10-proxy.conf
parent6eabdeab92e93019c7d36573132c3f62a6d9a4f3 (diff)
parent3f9fc6aac50fd9d1f4c723cde1e0b8e68a4b8a13 (diff)
Merge changes I66bece21,I331c53d5,I5000ff2a
* changes: Make redirect ready in lighttpd Make onap-beijing as default product in use Enable web-console under OOM environment
Diffstat (limited to 'deployment/http/lighttpd/10-proxy.conf')
-rw-r--r--deployment/http/lighttpd/10-proxy.conf14
1 files changed, 6 insertions, 8 deletions
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
+ }
+}