[ 
https://issues.apache.org/jira/browse/SCB-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16440667#comment-16440667
 ] 

ASF GitHub Bot commented on SCB-479:
------------------------------------

WillemJiang commented on a change in pull request #328: [SCB-479] Add proxy to 
service-center in frontend
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/328#discussion_r182011933
 
 

 ##########
 File path: frontend/Readme.md
 ##########
 @@ -41,15 +40,6 @@ go run main.go
 This will bring up the Service-Center UI on 
[http://127.0.0.1:30103](http://127.0.0.1:30103).
 If you want to change the listening ip/port, you can modify it in the 
configuration file (service-center/frontend/conf/app.conf : FRONTEND_HOST_IP, 
FRONTEND_HOST_PORT).
 
-##### NOTE
 
 Review comment:
   How can we setup the proxy ? I can not find the document for it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Add proxy to service-center in frontend
> ---------------------------------------
>
>                 Key: SCB-479
>                 URL: https://issues.apache.org/jira/browse/SCB-479
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Service-Center
>    Affects Versions: service-center-1.0.0-m2
>            Reporter: Yang Bo
>            Assignee: Yang Bo
>            Priority: Major
>
> Currently the frontend visits service-center directly from user browser. This 
> requires that the service-center must be listening on a address accessible 
> from the user machine. (Frontend will not work if visited from other machines 
> if service-center listens on localhost.)
> To resolve this issue, we need to add a proxy in the frontend server, and the 
> user access the service-center through that proxy.
> This also eliminates the need to modify the apiList.js file when configuring 
> service-center address and port.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to