X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=blobdiff_plain;f=conf%2Funit%2Fbinder.inc;h=81758fcccb11ba6c861fee662a51e1ac0b9c1939;hp=ba5049edf17fb669d8f073bc91e0f6033b92941c;hb=653562e1449c935f087d2d8265081eeac1cd73b4;hpb=6008a3ec4d1c0ed5df338b7c5f0775585ab51cfb diff --git a/conf/unit/binder.inc b/conf/unit/binder.inc index ba5049e..81758fc 100644 --- a/conf/unit/binder.inc +++ b/conf/unit/binder.inc @@ -18,12 +18,14 @@ IF_AGL_DEVEL \ --verbose \ --monitoring \ --port={{:#metatarget.http-port}} \ + --interface=tcp:LOCALUSERAPP:8080 \ --roothttp=ON_CONTENT(application/vnd.agl.service, ., ON_PERM(:public:no-htdocs, ., htdocs)) \ ELSE \ IF_CONTENT(application/vnd.agl.service) \ --no-httpd \ ELSE \ --port={{:#metatarget.http-port}} \ + --interface=tcp:LOCALUSERAPP:8080 \ --roothttp=ON_PERM(:public:no-htdocs, ., htdocs) \ ENDIF \ ENDIF \ @@ -45,6 +47,6 @@ ENDIF \ ON_VALUE(tcp, --ws-server=tcp:{{name}}) \ {{/provided-api}} \ ON_PERM(:platform:apis:auto-ws, --auto-api=API_PATH_WS) \ - ON_CONTENT(text/html, --exec /usr/bin/web-runtime http://localhost:@p/{{content.src}}?token=@t) \ + ON_CONTENT(text/html, --exec /usr/bin/web-runtime http://LOCALUSERAPP:8080/{{content.src}}) \ ON_CONTENT(application/vnd.agl.native, --exec {{:#metadata.install-dir}}/{{content.src}} @p @t) %nl