summaryrefslogtreecommitdiffstats
path: root/deployment/http/lighttpd
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/http/lighttpd')
-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
+ }
+}