WSO2 API管理器 - 揭露出版商和放大器;商店的网址公开 [英] WSO2 API Manager - Expose Publisher & Store URLs to public
问题描述
我使用 WSO2 API管理器用于创建和管理一个开发者社区。据我所知,API管理器驱动WSO2的碳服务器,再次在Apache Tomcat上运行。
I'm using WSO2 API Manager for creating and managing a developer community. According to my knowledge API manager is driven on WSO2 Carbon Server which again runs on Apache Tomcat.
到现在为止我能没有任何问题运行WSO2 API经理。我可以用下面的网址打开商店和出版商。
Up to now I'm able to run WSO2 API manager without any issues. I could open up store and publisher using below urls.
https://<MyHostName>:9443/publisher
https://<MyHostName>:9443/store
我想知道的是,我怎么能这两个URL暴露给公众?我想类似下面的网址为(无端口)。
What I want to know is, how can I expose these two URLs to public? I would like something like below as URLs(without ports).
https://<MyHostName>/publisher
https://<MyHostName>/store
或
https://publisher.<MyHostName>
https://store.<MyHostName>
的鉴于对于没有https网址(只是HTTP)将是巨大的,如果可能的。的
在WSO2 API经理,我怎么可以公开发布商和放大器;商店网址公开?
推荐答案
您可以通过编辑位于
文件夹中。更改卡塔利娜-server.xml中
文件做到这一点&LT; APIM&GT; /库/ conf目录/ tomcat的端口
和 redirectPort
在NIO连接指定的值。
You can do this by editing catalina-server.xml
file located in <APIM>/repository/conf/tomcat
folder. Change the port
and redirectPort
values specified in NIO Connectors.
<Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
port="80"
redirectPort="443"
bindOnInit="false"
maxHttpHeaderSize="8192"
acceptorThreadCount="2"
maxThreads="250"
minSpareThreads="50"
disableUploadTimeout="false"
connectionUploadTimeout="120000"
maxKeepAliveRequests="200"
acceptCount="200"
server="WSO2 Carbon Server"
compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/javascript,application/x-javascript,application/javascript,application/xml,text/css,application/xslt+xml,text/xsl,image/gif,image/jpg,image/jpeg"
URIEncoding="UTF-8"/>
<Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
port="443"
bindOnInit="false"
sslProtocol="TLS"
maxHttpHeaderSize="8192"
acceptorThreadCount="2"
maxThreads="250"
minSpareThreads="50"
disableUploadTimeout="false"
enableLookups="false"
connectionUploadTimeout="120000"
maxKeepAliveRequests="200"
acceptCount="200"
server="WSO2 Carbon Server"
clientAuth="false"
compression="on"
scheme="https"
secure="true"
SSLEnabled="true"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/javascript,application/x-javascript,application/javascript,application/xml,text/css,application/xslt+xml,text/xsl,image/gif,image/jpg,image/jpeg"
URIEncoding="UTF-8"/>
这篇关于WSO2 API管理器 - 揭露出版商和放大器;商店的网址公开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!